Class LessThanOrEqualBinding
Creates a Binding that evaluates whether a specific property
is less than or equal to a specified Threshold.
Inheritance
LessThanOrEqualBinding
Assembly: PresentationTheme.AeroLite.Win10.dll
Syntax
[ValueConversion(typeof(double), typeof(bool))]
public class LessThanOrEqualBinding : MarkupExtension, IValueConverter
Constructors
|
Improve this Doc
View Source
LessThanOrEqualBinding(String)
Declaration
public LessThanOrEqualBinding(string path)
Parameters
Properties
|
Improve this Doc
View Source
ElementName
Declaration
public string ElementName { get; set; }
Property Value
|
Improve this Doc
View Source
Path
Declaration
public string Path { get; set; }
Property Value
|
Improve this Doc
View Source
Threshold
Gets or sets the threshold.
Declaration
public double Threshold { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
ProvideValue(IServiceProvider)
Returns a Binding that evaluates whether a specific
property is less than or equal to a specified Threshold.
Declaration
public override object ProvideValue(IServiceProvider serviceProvider)
Parameters
Type |
Name |
Description |
IServiceProvider |
serviceProvider |
A service provider helper that can provide services for the markup
extension. Not used.
|
Returns
Type |
Description |
Object |
The object value to set on the property where the extension is
applied.
|
Overrides
Explicit Interface Implementations
|
Improve this Doc
View Source
IValueConverter.Convert(Object, Type, Object, CultureInfo)
Declaration
object IValueConverter.Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Returns
|
Improve this Doc
View Source
IValueConverter.ConvertBack(Object, Type, Object, CultureInfo)
Declaration
object IValueConverter.ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Returns
Implements