Udostępnij za pośrednictwem


ColorSpectrumShape Enum

Definition

Defines constants that specify how the ColorSpectrum control is shown.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ColorSpectrumShape (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public enum class ColorSpectrumShape
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
enum class ColorSpectrumShape
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
public enum ColorSpectrumShape
var value = Windows.UI.Xaml.Controls.ColorSpectrumShape.box
Public Enum ColorSpectrumShape
Inheritance
ColorSpectrumShape
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Fields

Name Value Description
Box 0

The ColorSpectrum control is shown as a square.

Ring 1

The ColorSpectrum control is shown as a circle.

Applies to