Share via


ColorPicker.IsAlphaEnabled Eigenschaft

Definition

Ruft einen Wert ab oder legt einen Wert fest, der angibt, ob der Alphakanal geändert werden kann.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI im Windows App SDK, siehe die Windows App SDK Namespaces).

public:
 property bool IsAlphaEnabled { bool get(); void set(bool value); };
bool IsAlphaEnabled();

void IsAlphaEnabled(bool value);
public bool IsAlphaEnabled { get; set; }
Public Property IsAlphaEnabled As Boolean
<ColorPicker IsAlphaEnabled="bool" .../>

Eigenschaftswert

Boolean

bool

true , wenn der Alphakanal aktiviert ist; andernfalls false. Die Standardeinstellung ist false.

Hinweise

Die Eigenschaften IsAlphaSliderVisible und IsAlphaTextInputVisible werden ignoriert, wenn IsAlphaEnabled false ist.

Gilt für: