Edit

Share via


TypeToObjectConverter Class

Definition

This class returns an object or another, depending on whether the type of the provided value matches another provided Type.

public class TypeToObjectConverter : Windows.UI.Xaml.DependencyObject, Windows.UI.Xaml.Data.IValueConverter
type TypeToObjectConverter = class
    inherit DependencyObject
    interface IValueConverter
Public Class TypeToObjectConverter
Inherits DependencyObject
Implements IValueConverter
Inheritance
Windows.UI.Xaml.DependencyObject
TypeToObjectConverter
Implements
Windows.UI.Xaml.Data.IValueConverter

Constructors

TypeToObjectConverter()

Fields

FalseValueProperty

Identifies the FalseValue property.

TrueValueProperty

Identifies the TrueValue property.

TypeProperty

Identifies the Type property.

Properties

FalseValue

Gets or sets the value to be returned when the type of the provided value does not match Type.

TrueValue

Gets or sets the value to be returned when the type of the provided value matches Type.

Type

Gets or sets the Type used to compare the type of the provided value.

Methods

Convert(Object, Type, Object, String)

Convert the value's Type to an other object.

ConvertBack(Object, Type, Object, String)

Not implemented.

Applies to