Aggregating |
The AggregatingMultiValueConverter type exposes the following members.
Name | Description | |
---|---|---|
AggregatingMultiValueConverter | Initializes a new instance of the AggregatingMultiValueConverter class |
Name | Description | |
---|---|---|
Converters | Gets the aggregating converters. Must be all IValueConverter, only the last might be a IMultiValueConverter. |
Name | Description | |
---|---|---|
Convert |
Converts a value.
(Overrides MultiValueConverterConvert(Object, Type, Object, CultureInfo)) | |
ConvertBack |
Converts a value.
(Inherited from MultiValueConverter) | |
ProvideValue |
When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.
(Inherited from MultiValueConverter) |
Name | Description | |
---|---|---|
SafeCastT |
Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions) |
<Window.Resources> <toms:CompositeMultiValueConverter x:Key="ThresholdConverter"> <toms:CompositeMultiValueConverter.MultiValueConverter> <toms:AggregatingMultiValueConverter> <toms:BinaryOperationConverter Operation="Subtraction"/> <toms:BinaryOperationConverter Operation="LessThanOrEqual"/> </toms:AggregatingMultiValueConverter> </toms:CompositeMultiValueConverter.MultiValueConverter> <toms:BooleanToVisibilityConverter/> </toms:CompositeMultiValueConverter> </Window.Resources> <TextBlock Text="The elapsed time is less than the minimum required time!"> <TextBlock.Visibility> <MultiBinding Converter="{StaticResource ThresholdConverter}"> <Binding Path="Now" Source="{x:Static toms:DateTimeSource.Default}"/> <Binding Path="OperationStartTime"/> <Binding Path="MinimumOperationTime"/> </MultiBinding> </TextBlock.Visibility> </TextBlock>