[DevExpress Support Team: CLONED FROM T566780: XAML Styling inconsistent/surprising and cannot be configured]
Oh neat, I didn't notice the Advanced tab over there, thanks!
<Label Grid.Row="2" Grid.Column="1" local:Test.PropertyB="2" Content="Text" local:Test.PropertyA="1"/>
For Attribute order, I have the following:[C#]
x:Class xmlns, xmlns:x xmlns:* x:Key, Key, x:Name, Name, x:Uid, Uid, Title Grid.Row, Grid.RowSpan, Grid.Column, Grid.ColumnSpan, Canvas.Left, Canvas.Top, Canvas.Right, Canvas.Bottom Width, Height, MinWidth, MinHeight, MaxWidth, MaxHeight Margin, Padding, HorizontalAlignment, VerticalAlignment, HorizontalContentAlignment, VerticalContentAlignment, Panel.ZIndex *:*, * PageSource, PageIndex, Offset, Color, TargetName, Property, Value, StartPoint, EndPoint mc:Ignorable, d:IsDataSource, d:LayoutOverrides, d:IsStaticText Storyboard.*, From, To, Duration
That is a 1:1 copy from XamlStyler (which looked similar, so I just copied them over without changing anything).
I can reproduce that in a newly created WPF project that has a simple Test class with two attached properties added (simple expansion of the Visual Studio Snippet propa with names that make the ordering obvious).
Let me know if you need anything else here.