Click or drag to resize

ObjectToDisplayNameConverter Methods

The ObjectToDisplayNameConverter type exposes the following members.

Methods
 NameDescription
Public methodStatic memberConvert(Object) Converts the specified value to the display name taken from it's DisplayNameAttribute
Public methodStatic memberConvert(Object, Type) Converts the specified value to the display name taken from it's DisplayNameAttribute
Protected methodConvert(Object, Type, Object, CultureInfo) Converts a value. UnSet is unchanged, null becomes an empty string.
(Overrides ObjectToAttributeConverterTConvert(Object, Type, Object, CultureInfo))
Protected methodConvertBack Converts a value.
(Inherited from ValueConverter)
Public methodProvideValue When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.
(Inherited from ValueConverter)
Top
Extension Methods
 NameDescription
Public Extension MethodSafeCastT Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions)
Top
See Also