© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
5 replies
Reed

❔ Reordering of columns: (DevExpress/XAML)

How should I go about switching the order of these columns?
I tried the following but did not work:
1. Switch code order
2. Swapped the visibleIndex
3. 1+2 combined
4. Changed the visibleIndex in the XAML and the properties tab
<dxg:GridColumn VisibleIndex="3" x:Name="fftdtfr" Header="{Resx fftdtfr}" FieldName="fftdtfr" utils:AbsoluteVisibleColumn.IsEnable="False" Width="120" Visible="{Binding Visibility.fftdtfr, Mode=TwoWay}"  AllowEditing="{Binding Accessibility.fftdtfr, Converter={converters:BoolToBooleanDefaultConverter}, Mode=OneWay}" IsEnabled="{Binding Accessibility.fftdtfr, Converter={converters:BoolToBooleanDefaultConverter}, Mode=OneWay}" FilterPopupMode="Date">
            <dxg:GridColumn.EditSettings>
                <dxe:DateEditSettings Mask="dd/MM/yyyy HH:mm" MaskType="DateTimeAdvancingCaret" MaskUseAsDisplayFormat="True" />
            </dxg:GridColumn.EditSettings>
        </dxg:GridColumn>
        <dxg:GridColumn VisibleIndex="4" x:Name="fftdtto" Header="{Resx fftdtto}" FieldName="fftdtto" utils:AbsoluteVisibleColumn.IsEnable="False" Width="120" Visible="{Binding Visibility.fftdtto, Mode=TwoWay}"  AllowEditing="{Binding Accessibility.fftdtto, Converter={converters:BoolToBooleanDefaultConverter}, Mode=OneWay}" IsEnabled="{Binding Accessibility.fftdtto, Converter={converters:BoolToBooleanDefaultConverter}, Mode=OneWay}" FilterPopupMode="Date">
            <dxg:GridColumn.EditSettings>
                <dxe:DateEditSettings Mask="dd/MM/yyyy HH:mm" MaskType="DateTimeAdvancingCaret" MaskUseAsDisplayFormat="True" />
            </dxg:GridColumn.EditSettings>
        </dxg:GridColumn>
<dxg:GridColumn VisibleIndex="3" x:Name="fftdtfr" Header="{Resx fftdtfr}" FieldName="fftdtfr" utils:AbsoluteVisibleColumn.IsEnable="False" Width="120" Visible="{Binding Visibility.fftdtfr, Mode=TwoWay}"  AllowEditing="{Binding Accessibility.fftdtfr, Converter={converters:BoolToBooleanDefaultConverter}, Mode=OneWay}" IsEnabled="{Binding Accessibility.fftdtfr, Converter={converters:BoolToBooleanDefaultConverter}, Mode=OneWay}" FilterPopupMode="Date">
            <dxg:GridColumn.EditSettings>
                <dxe:DateEditSettings Mask="dd/MM/yyyy HH:mm" MaskType="DateTimeAdvancingCaret" MaskUseAsDisplayFormat="True" />
            </dxg:GridColumn.EditSettings>
        </dxg:GridColumn>
        <dxg:GridColumn VisibleIndex="4" x:Name="fftdtto" Header="{Resx fftdtto}" FieldName="fftdtto" utils:AbsoluteVisibleColumn.IsEnable="False" Width="120" Visible="{Binding Visibility.fftdtto, Mode=TwoWay}"  AllowEditing="{Binding Accessibility.fftdtto, Converter={converters:BoolToBooleanDefaultConverter}, Mode=OneWay}" IsEnabled="{Binding Accessibility.fftdtto, Converter={converters:BoolToBooleanDefaultConverter}, Mode=OneWay}" FilterPopupMode="Date">
            <dxg:GridColumn.EditSettings>
                <dxe:DateEditSettings Mask="dd/MM/yyyy HH:mm" MaskType="DateTimeAdvancingCaret" MaskUseAsDisplayFormat="True" />
            </dxg:GridColumn.EditSettings>
        </dxg:GridColumn>
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

DevExpress Chart Control
C#CC# / help
2y ago
✅ xaml
C#CC# / help
9mo ago
❔ XAML
C#CC# / help
3y ago
XAML Binding
C#CC# / help
11mo ago