C# Class Mono.Xaml.XamlTypeConverter

Inheritance: Mono.MoonlightTypeConverter
显示文件 Open project: shana/moon Class Usage Examples

Public Methods

Method Description
CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
ConvertObject ( XamlParser parser, XamlObjectElement element, Type dest_type, TypeConverter converter, string prop_name, object val ) : object
XamlTypeConverter ( XamlParser parser, XamlObjectElement element, string propertyName, Type destinationType ) : Mono

Private Methods

Method Description
CanConvertFromString ( ITypeDescriptorContext context ) : bool
ConvertDependencyProperty ( XamlTypeConverter converter, ITypeDescriptorContext context, CultureInfo culture, object ovalue ) : DependencyProperty
ConvertFromString ( ITypeDescriptorContext context, CultureInfo culture, string value ) : object
ConvertRoutedEventArgs ( XamlTypeConverter converter, ITypeDescriptorContext context, CultureInfo culture, object ovalue ) : System.Windows.RoutedEvent
ConvertType ( XamlTypeConverter converter, ITypeDescriptorContext context, CultureInfo culture, object ovalue ) : Type
GetStringConverter ( ) : TypeConverterHandler
GetTargetType ( XamlTypeConverter converter ) : Type
RoutedEvent ( Type eventids, string type, string event_name ) : System.Windows.RoutedEvent
XamlTypeConverter ( ) : Mono

Method Details

CanConvertFrom() public method

public CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
context ITypeDescriptorContext
sourceType System.Type
return bool

ConvertFrom() public method

public ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
return object

ConvertObject() public static method

public static ConvertObject ( XamlParser parser, XamlObjectElement element, Type dest_type, TypeConverter converter, string prop_name, object val ) : object
parser XamlParser
element XamlObjectElement
dest_type System.Type
converter TypeConverter
prop_name string
val object
return object

XamlTypeConverter() public method

public XamlTypeConverter ( XamlParser parser, XamlObjectElement element, string propertyName, Type destinationType ) : Mono
parser XamlParser
element XamlObjectElement
propertyName string
destinationType System.Type
return Mono