Alex,
Is there any possible to move the scrollbar to Left side?
(content should be normal).
by
Ramesh.p
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
To the best of my knowledge, the RecordListControl is generated internally, and you cannot set the style explicitly. Event if you create the grid dynamically in procedural code, this style should be applied if you do not set the x:key property.
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?
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.