Class PaddingConverter
Converts instances of other types to and from instances of Padding.
Inheritance
System.Object
    System.ComponentModel.TypeConverter
    System.Windows.ThicknessConverter
    PaddingConverter
  Implements
System.Windows.Data.IValueConverter
  
      System.ComponentModel.TypeConverter.CanConvertFrom(System.Type)
    
    
      System.ComponentModel.TypeConverter.CanConvertTo(System.Type)
    
    
      System.ComponentModel.TypeConverter.ConvertFrom(System.Object)
    
    
      System.ComponentModel.TypeConverter.ConvertFromInvariantString(System.ComponentModel.ITypeDescriptorContext, System.String)
    
    
      System.ComponentModel.TypeConverter.ConvertFromInvariantString(System.String)
    
    
      System.ComponentModel.TypeConverter.ConvertFromString(System.ComponentModel.ITypeDescriptorContext, System.Globalization.CultureInfo, System.String)
    
    
      System.ComponentModel.TypeConverter.ConvertFromString(System.ComponentModel.ITypeDescriptorContext, System.String)
    
    
      System.ComponentModel.TypeConverter.ConvertFromString(System.String)
    
    
      System.ComponentModel.TypeConverter.ConvertTo(System.Object, System.Type)
    
    
      System.ComponentModel.TypeConverter.ConvertToInvariantString(System.ComponentModel.ITypeDescriptorContext, System.Object)
    
    
      System.ComponentModel.TypeConverter.ConvertToInvariantString(System.Object)
    
    
      System.ComponentModel.TypeConverter.ConvertToString(System.ComponentModel.ITypeDescriptorContext, System.Globalization.CultureInfo, System.Object)
    
    
      System.ComponentModel.TypeConverter.ConvertToString(System.ComponentModel.ITypeDescriptorContext, System.Object)
    
    
      System.ComponentModel.TypeConverter.ConvertToString(System.Object)
    
    
      System.ComponentModel.TypeConverter.CreateInstance(System.Collections.IDictionary)
    
    
      System.ComponentModel.TypeConverter.CreateInstance(System.ComponentModel.ITypeDescriptorContext, System.Collections.IDictionary)
    
    
      System.ComponentModel.TypeConverter.GetConvertFromException(System.Object)
    
    
      System.ComponentModel.TypeConverter.GetConvertToException(System.Object, System.Type)
    
    
      System.ComponentModel.TypeConverter.GetCreateInstanceSupported()
    
    
      System.ComponentModel.TypeConverter.GetCreateInstanceSupported(System.ComponentModel.ITypeDescriptorContext)
    
    
      System.ComponentModel.TypeConverter.GetProperties(System.ComponentModel.ITypeDescriptorContext, System.Object)
    
    
      System.ComponentModel.TypeConverter.GetProperties(System.ComponentModel.ITypeDescriptorContext, System.Object, System.Attribute[])
    
    
      System.ComponentModel.TypeConverter.GetProperties(System.Object)
    
    
      System.ComponentModel.TypeConverter.GetPropertiesSupported()
    
    
      System.ComponentModel.TypeConverter.GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext)
    
    
      System.ComponentModel.TypeConverter.GetStandardValues()
    
    
      System.ComponentModel.TypeConverter.GetStandardValues(System.ComponentModel.ITypeDescriptorContext)
    
    
      System.ComponentModel.TypeConverter.GetStandardValuesExclusive()
    
    
      System.ComponentModel.TypeConverter.GetStandardValuesExclusive(System.ComponentModel.ITypeDescriptorContext)
    
    
      System.ComponentModel.TypeConverter.GetStandardValuesSupported()
    
    
      System.ComponentModel.TypeConverter.GetStandardValuesSupported(System.ComponentModel.ITypeDescriptorContext)
    
    
      System.ComponentModel.TypeConverter.IsValid(System.ComponentModel.ITypeDescriptorContext, System.Object)
    
    
      System.ComponentModel.TypeConverter.IsValid(System.Object)
    
    
      System.ComponentModel.TypeConverter.SortProperties(System.ComponentModel.PropertyDescriptorCollection, System.String[])
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
    Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public class PaddingConverter : ThicknessConverter, IValueConverter
  Methods
View SourceCanConvertFrom(ITypeDescriptorContext, Type)
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.ComponentModel.ITypeDescriptorContext | typeDescriptorContext | |
| System.Type | sourceType | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Overrides
System.Windows.ThicknessConverter.CanConvertFrom(System.ComponentModel.ITypeDescriptorContext, System.Type)
  
  
    View Source
  
  
  CanConvertTo(ITypeDescriptorContext, Type)
Declaration
public override bool CanConvertTo(ITypeDescriptorContext typeDescriptorContext, Type destinationType)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.ComponentModel.ITypeDescriptorContext | typeDescriptorContext | |
| System.Type | destinationType | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Overrides
System.Windows.ThicknessConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext, System.Type)
  
  
    View Source
  
  
  Convert(Object, Type, Object, CultureInfo)
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | value | |
| System.Type | targetType | |
| System.Object | parameter | |
| System.Globalization.CultureInfo | culture | 
Returns
| Type | Description | 
|---|---|
| System.Object | 
ConvertBack(Object, Type, Object, CultureInfo)
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | value | |
| System.Type | targetType | |
| System.Object | parameter | |
| System.Globalization.CultureInfo | culture | 
Returns
| Type | Description | 
|---|---|
| System.Object | 
ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)
Declaration
public override object ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object source)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.ComponentModel.ITypeDescriptorContext | typeDescriptorContext | |
| System.Globalization.CultureInfo | cultureInfo | |
| System.Object | source | 
Returns
| Type | Description | 
|---|---|
| System.Object | 
Overrides
System.Windows.ThicknessConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext, System.Globalization.CultureInfo, System.Object)
  
  
    View Source
  
  
  ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)
Declaration
public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object value, Type destinationType)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.ComponentModel.ITypeDescriptorContext | typeDescriptorContext | |
| System.Globalization.CultureInfo | cultureInfo | |
| System.Object | value | |
| System.Type | destinationType | 
Returns
| Type | Description | 
|---|---|
| System.Object | 
Overrides
System.Windows.ThicknessConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext, System.Globalization.CultureInfo, System.Object, System.Type)
  Implements
      System.Windows.Data.IValueConverter