Track.Orientation Property

Definition

Obtiene o establece un valor que indica si el Track se muestra en horizontal o en vertical.Gets or sets a value that indicates whether the Track is displayed horizontally or vertically.

public:
 property System::Windows::Controls::Orientation Orientation { System::Windows::Controls::Orientation get(); void set(System::Windows::Controls::Orientation value); };
public System.Windows.Controls.Orientation Orientation { get; set; }
member this.Orientation : System.Windows.Controls.Orientation with get, set
Public Property Orientation As Orientation

Property Value

Orientation

Un valor de enumeración Orientation que indica si Track se muestra horizontal o verticalmente.An Orientation enumeration value that indicates whether the Track is displayed horizontally or vertically. El valor predeterminado es Horizontal.The default is Horizontal.

Remarks

Si implementa un Track como parte de un control ScrollBar y no establece explícitamente la propiedad Orientation, la propiedad Track.Orientation enlaza al ScrollBar.Orientation.If you implement a Track as part of a ScrollBar control and you do not explicitly set the Orientation property, the Track.Orientation property binds to the ScrollBar.Orientation.

Si implementa un Track como parte de un control Slider y no establece explícitamente la propiedad Orientation, la propiedad Track.Orientation enlaza al Slider.Orientation.If you implement a Track as part of a Slider control and you do not explicitly set the Orientation property, the Track.Orientation property binds to the Slider.Orientation.

Información sobre propiedades de dependenciaDependency Property Information

Campo de identificadorIdentifier field OrientationProperty
Propiedades de metadatos establecidas en trueMetadata properties set to true AffectsMeasure

Applies to

See also