Class ThumbWidthToMarginConverter
Base class for value converter.
Inheritance
System.Object
    System.Windows.Markup.MarkupExtension
    
    ThumbWidthToMarginConverter
  Implements
System.Windows.Data.IValueConverter
  
      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 ThumbWidthToMarginConverter : ConverterExtensionBase, IValueConverter
  Constructors
View SourceThumbWidthToMarginConverter()
Default constructor
Declaration
public ThumbWidthToMarginConverter()
  ThumbWidthToMarginConverter(Boolean)
Declaration
public ThumbWidthToMarginConverter(bool isNegative)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | isNegative | 
Properties
View SourceNegative
Indicates whether the calculated offset is negative
Declaration
public bool Negative { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Methods
View SourceConvert(Object, Type, Object, CultureInfo)
Converts a value
Declaration
public override object Convert(object value, Type targetType, object parameter, CultureInfo culture)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | value | The value generated by the binding source.  | 
      
| System.Type | targetType | The type of attachment target property.  | 
      
| System.Object | parameter | The converter parameter to be used.  | 
      
| System.Globalization.CultureInfo | culture | The culture to be used in the converter.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Object | A converted value.If the method returns null, the valid null value is used.  | 
      
Overrides
Implements
      System.Windows.Data.IValueConverter