Edit

Share via


NullableBool Class

Definition

Custom Windows.UI.Xaml.Markup.MarkupExtension which can provide nullable bool values. See https://wpdev.uservoice.com/forums/110705-universal-windows-platform/suggestions/17767198-nullable-dependency-properties.

[Windows.UI.Xaml.Data.Bindable]
[Windows.UI.Xaml.Markup.MarkupExtensionReturnType(ReturnType=typeof(System.Nullable<System.Boolean>))]
public class NullableBool : Windows.UI.Xaml.Markup.MarkupExtension
[<Windows.UI.Xaml.Data.Bindable>]
[<Windows.UI.Xaml.Markup.MarkupExtensionReturnType(ReturnType=typeof(System.Nullable<System.Boolean>))>]
type NullableBool = class
    inherit MarkupExtension
Public Class NullableBool
Inherits MarkupExtension
Inheritance
Windows.UI.Xaml.Markup.MarkupExtension
NullableBool
Attributes
Windows.UI.Xaml.Data.BindableAttribute Windows.UI.Xaml.Markup.MarkupExtensionReturnTypeAttribute

Constructors

NullableBool()

Properties

IsNull

Gets or sets a value indicating whether the value should be null. Overrides the Value property.

Value

Gets or sets a value indicating whether the value of the Boolean is true. Ignored if IsNull is true.

Methods

ProvideValue()

Applies to