WPF,一直不清楚这是什么语法
<ListBox HorizontalAlignment="Left" ScrollViewer.HorizontalScrollBarVisibility="Hidden" Height="185" Margin="141,60,0,0" VerticalAlignment="Top" Width="167">
<ListBoxItem Content="ListBoxItem" />
<ListBoxItem Content="ListBoxItem"/>
<ListBoxItem Content="ListBoxItem"/>
<ListBoxItem Content="ListBoxItem"/>
<ListBoxItem Content="ListBoxItem"/>
<ListBoxItem Content="ListBoxItem"/>
<ListBoxItem Content="ListBoxItem"/>
</ListBox>
在ListBox中设置ScrollViewer.HorizontalScrollBarVisibility="Hidden",这到底什么语法,MSDN哪条哪款说明了可以这样用?
HorizontalScrollBarVisibility并非附加属性,这到底是何种语法?
是啊,我也知道这是设置滚动条,这到底何种语法?
属性值继承?也不像
------解决方案--------------------msdn里有的:ScrollViewer.HorizontalScrollBarVisibility Property
Gets or sets a value that indicates whether a horizontal ScrollBar should be displayed.
<ScrollViewer HorizontalScrollBarVisibility="scrollBarVisibilityValue"/>
-or-
<object ScrollViewer.HorizontalScrollBarVisibility="scrollBarVisibilityValue"/>
------解决方案--------------------A ScrollBarVisibility value that indicates whether a horizontal ScrollBar should be displayed. The default value is Hidden.
------解决方案--------------------has 吧。。。
------解决方案--------------------基类?
------解决方案--------------------http://msdn.microsoft.com/zh-SG/library/ie/system.windows.controls.scrollviewer.horizontalscrollbarvisibility.aspx
------解决方案--------------------http://msdn.microsoft.com/zh-cn/library/windows/apps/br209547.aspx