ScaledDoubleExtension Class
A markup extension that scales the specified double value.
public class ScaledDoubleExtension
- Inheritance:
- object object
Constructors
ScaledDoubleExtension()
Initializes an instance of the class.
public ScaledDoubleExtension()
ScaledDoubleExtension(string?)
Initializes an instance of the class, using the specified Expression value.
public ScaledDoubleExtension(string? expression)
Parameter | Type | Description |
---|---|---|
expression | string | The string expression that specifies length factors and adjustments. |
Properties
Expression
The string expression that specifies a factor and optional adjustment.
Methods
ProvideValue(IServiceProvider?)
Returns a scaled double value, using a binding when possible.
public virtual object? ProvideValue(IServiceProvider? serviceProvider)
Parameter | Type | Description |
---|---|---|
serviceProvider | IServiceProvider | An object that can provide services for the markup extension. |
Returns
- object:
The object value to set on the property where the extension is applied.
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()