Compartir a través de


ScrollPresenter.HorizontalScrollRailMode Propiedad

Definición

Obtiene o establece un valor que indica si el raíl de desplazamiento está habilitado para el eje horizontal.

public:
 property ScrollingRailMode HorizontalScrollRailMode { ScrollingRailMode get(); void set(ScrollingRailMode value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultHorizontalScrollRailMode")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultHorizontalScrollRailMode")]
ScrollingRailMode HorizontalScrollRailMode();

void HorizontalScrollRailMode(ScrollingRailMode value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultHorizontalScrollRailMode")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultHorizontalScrollRailMode")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultHorizontalScrollRailMode")]
ScrollingRailMode HorizontalScrollRailMode();

void HorizontalScrollRailMode(ScrollingRailMode value);
public ScrollingRailMode HorizontalScrollRailMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultHorizontalScrollRailMode")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultHorizontalScrollRailMode")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultHorizontalScrollRailMode")]
public ScrollingRailMode HorizontalScrollRailMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultHorizontalScrollRailMode")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollPresenter::s_defaultHorizontalScrollRailMode")] set; }
var scrollingRailMode = scrollPresenter.horizontalScrollRailMode;
scrollPresenter.horizontalScrollRailMode = scrollingRailMode;
Public Property HorizontalScrollRailMode As ScrollingRailMode

Valor de propiedad

Valor que indica si el raíl de desplazamiento está habilitado para el eje horizontal. El valor predeterminado es Enabled.

Atributos
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Se aplica a