Show / Hide Table of Contents

Class ThumbWidthToMarginConverter

Base class for value converter.

Inheritance
System.Object
System.Windows.Markup.MarkupExtension
ConverterExtensionBase
ThumbWidthToMarginConverter
Implements
System.Windows.Data.IValueConverter
ConverterExtensionBase.ConvertBack(Object, Type, Object, CultureInfo)
ConverterExtensionBase.ProvideValue(IServiceProvider)
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 Source

ThumbWidthToMarginConverter()

Default constructor

Declaration
public ThumbWidthToMarginConverter()
View Source

ThumbWidthToMarginConverter(Boolean)

Declaration
public ThumbWidthToMarginConverter(bool isNegative)
Parameters
Type Name Description
System.Boolean isNegative

Properties

View Source

Negative

Indicates whether the calculated offset is negative

Declaration
public bool Negative { get; set; }
Property Value
Type Description
System.Boolean

Methods

View Source

Convert(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
ConverterExtensionBase.Convert(Object, Type, Object, CultureInfo)

Implements

System.Windows.Data.IValueConverter

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX