Compartilhar via


ScrollPresenter.VerticalScrollRailMode Propriedade

Definição

Obtém ou define um valor que indica se o trilho de rolagem está habilitado para o eixo vertical.

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

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

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

Valor da propriedade

Um valor que indica se o trilho de rolagem está habilitado para o eixo vertical. O padrão é Enabled.

Atributos
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Aplica-se a