Hiding the scrollbar for a listbox in Silverlight -


Please tell me how I can hide the scrollbar from appearing in Silverlight, I do not want vertical or horizontal scrollbar. You can help to ScrollViewer.HorizontalScrollBarVisibility and / or ScrollViewer.VerticalScrollBarVisibility Attribute Attributes can be set to "Disable"

  & lt; ListBox Height = "100" name = "listbox 1" width = "100" & gt; & Lt; ListBoxItem & gt; & Lt; Rectangle width = "200" height = "50" = "# FF 9424220" /> & Lt; / ListBoxItem & gt; & Lt; ListBoxItem & gt; & Lt; Rectangle width = "200" height = "50" = "# FFB 94222" /> & Lt; / ListBoxItem & gt; & Lt; / ListBox & gt;  

So you'll find scrollbars, like:

[Unfortunately, stack overflow will not give me images until I get a high reputation Do (I'm trying to create)

  & lt; ListBox height = "100  

" name = "listbox 1" width = "100" scroll weaver. Horizontal scrollcrawability = "disabled" scrollview. Vertical scrollbobility = "disabled" & gt; & Lt; ListBoxItem & gt; & Lt; Rectangle width = "200" height = "50" = "# FF 9424220" /> & Lt; / ListBoxItem & gt; & Lt; ListBoxItem & gt; & Lt; Rectangle width = "200" height = "50" = "# FFB 94222" /> & Lt; / ListBoxItem & gt; & Lt; / ListBox & gt;


Comments