Answer the question
In order to leave comments, you need to log in
How to correctly arrange object properties in HAML?
Let's say there is some Button
<Button x:Name="TestButton" HorizontalAlignment="Center" VerticalAlignment="Stretch" Margin="12,0,0,0" FontSize="19" IsDoubleTapEnabled="False" IsRightTapEnabled="False" />
Answer the question
In order to leave comments, you need to log in
The order of the properties in the XAML tag does not matter. The result will be the same if you use properties that are valid for this object (Button), or attached properties (Attached Properies).
In general, (2 + 4 + 7) \u003d (7 + 2 + 4) \u003d (7 + 4 + 2) \u003d ... from the rearrangement of the terms, the result in this case does not change.
a couple of links with recommendations for familiarization on the topic
log.maneu.net/my-xaml-coding-guidelines
https://paulstovell.wordpress.com/2007/05/04/xaml-...
but they only have recommendations , since it is convenient to read the author who wrote these recommendations .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question