Share via


PrintCustomToggleOptionDetails Class

Definition

Represents the list of print custom toggle options.

public ref class PrintCustomToggleOptionDetails sealed : IPrintCustomOptionDetails
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PrintCustomToggleOptionDetails final : IPrintCustomOptionDetails
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PrintCustomToggleOptionDetails final : IPrintCustomOptionDetails
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PrintCustomToggleOptionDetails : IPrintCustomOptionDetails
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PrintCustomToggleOptionDetails : IPrintCustomOptionDetails
Public NotInheritable Class PrintCustomToggleOptionDetails
Implements IPrintCustomOptionDetails
Inheritance
Object Platform::Object IInspectable PrintCustomToggleOptionDetails
Attributes
Implements

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Properties

Description

Gets or sets the description of the print custom toggle option.

DisplayName

Gets or sets the display name for the print custom toggle option.

ErrorText

Gets or sets the string for an error condition.

OptionId

Gets the ID of the print custom toggle option.

OptionType

Gets the option type for the print custom toggle option.

State

Gets or sets the state of the print custom toggle option.

Value

Gets or sets the enumerated value of the print custom toggle option.

WarningText

Gets or sets a string for a warning condition.

Methods

TrySetValue(Object)

Sets the value for the print custom toggle option.

Applies to