Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1564
HorizontalScrollBarVisibility does not work !
posted

Hi,

I have try to set  HorizontalScrollBarVisibility = Hidden, but the scroll bar is still visible !

What can I do ?

 Thanks 

Parents
  • 4850
    Verified Answer
    Offline posted

    Hi,

    What element are you setting the HorizontalScrollbarVisibility on? The XamDataGrid doesn't expose that property. If you don't want to see the horizontal scrollbar put this style in the xamDataGrid's Resources collection:

    <Style TargetType="{x:Type igDP:RecordListControl}">

    <Setter Property="Template">

    <Setter.Value>

    <ControlTemplate TargetType="{x:Type igDP:RecordListControl}">

    <ScrollViewer

    CanContentScroll="true"

    Focusable="false"

    HorizontalScrollBarVisibility="Hidden"

    VerticalScrollBarVisibility="{TemplateBinding VerticalScrollBarVisibility}">

    <ItemsPresenter/>

    </ScrollViewer>

    </ControlTemplate>

    </Setter.Value>

    </Setter>

    </Style>

Reply Children
No Data