Alex,
Is there any possible to move the scrollbar to Left side?
(content should be normal).
by
Ramesh.p
Ramesh,
This is possible with this style:
<Style TargetType="{x:Type igDP:RecordListControl}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type igDP:RecordListControl}">
<ScrollViewer FlowDirection="RightToLeft"
RenderTransform="{TemplateBinding FixedNearElementTransform}"
CanContentScroll="true"
Focusable="false" HorizontalScrollBarVisibility="Visible"
VerticalScrollBarVisibility="Visible" >
<ItemsPresenter FlowDirection="LeftToRight" RenderTransform="{TemplateBinding ScrollableElementTransform}"/>
</ScrollViewer>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
Please let me know if that works in your scenario.
Ya. you are right. But I created 4 grid at run time.
I want to apply this style for one grid. How to i avoid this style rest of the grid.
Anyway?
Regards,
Ramesh.P
I created the above style with key of SideAGridRecordList.
and i used like
myGridView.FieldLayoutSettings.RecordListControlStyle = MyResourceManager
.GetStyleByName("SideAGridRecordList");
- Not working
myGridView.FieldLayout[0].Settings.RecordListControlStyle = MyResourceManager.GetStyleByName("SideAGridRecordList");
I created the Grid only in C# (runtime). How to code?