Show / Hide Table of Contents

Class TypeOfConverter

Converts a value to its Type.

Inheritance
Object
TypeOfConverter
Implements
IValueConverter
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: PresentationTheme.AeroLite.Win10
Assembly: PresentationTheme.AeroLite.Win10.dll
Syntax
[ValueConversion(typeof(object), typeof(Type))]
public sealed class TypeOfConverter : IValueConverter

Methods

| Improve this Doc View Source

Convert(Object, Type, Object, CultureInfo)

Converts a value to its Type.

Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type Name Description
Object value

The value produced by the binding source.

Type targetType

The type of the binding target property.

Object parameter

The converter parameter to use. Not used.

CultureInfo culture

The culture to use in the converter. Not used.

Returns
Type Description
Object

The Type of value or null if value is null.

Explicit Interface Implementations

| Improve this Doc View Source

IValueConverter.ConvertBack(Object, Type, Object, CultureInfo)

Declaration
object IValueConverter.ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type Name Description
Object value
Type targetType
Object parameter
CultureInfo culture
Returns
Type Description
Object

Implements

System.Windows.Data.IValueConverter
  • Improve this Doc
  • View Source
Back to top Generated by DocFX