Gets or sets the horizontal alignment characteristics applied to this element when it is composed within a parent element, such as a panel or items control.
Assembly: PresentationFramework (in PresentationFramework.dll)
Label control will be Left, even though Label inherits direct from FrameworkElement. This is because that value was reset within the default style of Label, within the style's control template.GTMTGTMTGTMTGTMTis the Microsoft .NET property accessor for what is in reality a . This particular quite frequently has its apparent "default" value set differently in subclassed elements, particularly controls. This generally occurs in one of two ways: the is re-registered to a particular subclass, but with different metadata for setting its defaults; or there is a default style being applied that sets that value differently. For example, the apparent "default" of for a
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0