Search

Can't search for Attached Properties in the UI by JessicaArwenBest

Closed
as Fixed Help for as Fixed

0
0
Sign in
to vote
Type: Bug
ID: 766758
Opened: 10/9/2012 10:51:31 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
I'm new to xaml, and was looking for a way to add a scrollbar to my multi line textbox.

I searched through the properties for anything with "scroll" in it on a TextBlock, and found ScrollViewer.VerticalScrollBarVisibility, and set that to auto.

However, doing the same search on the properties in a TextBox did not return the same attached properties. I struggled for quite some time before figuring out how to add this scrollbar to my textbox, and ended up finding an online code sample where I edited the xaml directly myself, instead of doing this through the UI.

The experiences between TextBlocks and TextBoxes should be consistent; having attached properties be searchable will be great help for people who are not familiar with the controls yet.
Details (expand)

Product Version?

 

Blend for Windows Developer Preview

Language?

C++

Issue Type?

Bug

Repro Steps? (N/A for Suggestion)

1. Insert a Textblock into a blank canvas.
2. In the Properties window, search for "scroll"

Observe: I can see ScrollViewer.HorizontalScrollBarVisibility and ScrollViewer.VerticalScrollBarVisibility available to me.

3. Insert a TextBox into your blank canvas.
4. In the properties window, search for "scroll" while you have your TextBox selected.

Result: "No properties match the search criteria."

Expected: I should be able to see the attached properties, as I can add them through xaml just fine.
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 10/17/2012 at 3:40 PM
This issue will be fixed in future release. Thanks for contact us and let us know if you have any more questions.
Sign in to post a workaround.