Compartilhar via


ParallaxView.IsVerticalShiftClamped Propriedade

Definição

Obtém ou define um valor que indica se a taxa de paralaxe vertical é fixada a uma porcentagem especificada da velocidade de rolagem de origem.

public:
 property bool IsVerticalShiftClamped { bool get(); void set(bool value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
bool IsVerticalShiftClamped();

void IsVerticalShiftClamped(bool value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
bool IsVerticalShiftClamped();

void IsVerticalShiftClamped(bool value);
public bool IsVerticalShiftClamped { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
public bool IsVerticalShiftClamped { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] set; }
var boolean = parallaxView.isVerticalShiftClamped;
parallaxView.isVerticalShiftClamped = boolean;
Public Property IsVerticalShiftClamped As Boolean
<ParallaxView IsVerticalShiftClamped="bool" .../>

Valor da propriedade

Boolean

bool

true se a taxa de paralaxe for fixada a uma porcentagem especificada da velocidade de rolagem de origem; caso contrário, false. O padrão é true.

Atributos
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Aplica-se a