Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MAUI attribute ordering rule groups #489

Open
CodingOctocat opened this issue May 21, 2024 · 0 comments · May be fixed by #504
Open

Add MAUI attribute ordering rule groups #489

CodingOctocat opened this issue May 21, 2024 · 0 comments · May be fixed by #504
Labels

Comments

@CodingOctocat
Copy link

Some of MAUI's attribute names differ from WPF, such as WidthRequest, HeightRequest, MaximumWidthRequest, MaximumHeightRequest, HorizontalOptions, VerticalOptions. VerticalOptions`. Consider adding to the default configuration.

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, WidthRequest, HeightRequest, MinWidth, MinHeight, MaxWidth, MaxHeight, MaximumWidthRequest, MaximumHeightRequest
Margin, Padding, HorizontalAlignment, VerticalAlignment, HorizontalOptions, VerticalOptions, HorizontalContentAlignment, VerticalContentAlignment, HorizontalTextAlignment, VerticalTextAlignment, Panel.ZIndex
*:*, *
PageSource, PageIndex, Offset, Color, TargetName, Property, Value, StartPoint, EndPoint
mc:Ignorable, d:IsDataSource, d:LayoutOverrides, d:IsStaticText
Storyboard.*, From, To, Duration

"AttributeOrderingRuleGroups": [
"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"
],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant