Volume Control
Application-specific hotkeys for Windows
VolumeControl.WPF.Converters.ArrayHasItemsBooleanConverter Class Reference

Converts from an arbitrary array of items to a boolean value that depends on whether the array is empty or not.
When the array is empty, returns false; when the array has at least one item, returns true. More...

Inheritance diagram for VolumeControl.WPF.Converters.ArrayHasItemsBooleanConverter:
Collaboration diagram for VolumeControl.WPF.Converters.ArrayHasItemsBooleanConverter:

Public Member Functions

object Convert (object value, Type targetType, object parameter, CultureInfo culture)
 
object ConvertBack (object value, Type targetType, object parameter, CultureInfo culture)
 

Properties

bool ResultOnInvalidInputType = false [get, set]
 The default return value when the input type is invalid. (not a list) More...
 

Detailed Description

Converts from an arbitrary array of items to a boolean value that depends on whether the array is empty or not.
When the array is empty, returns false; when the array has at least one item, returns true.

Property Documentation

◆ ResultOnInvalidInputType

bool VolumeControl.WPF.Converters.ArrayHasItemsBooleanConverter.ResultOnInvalidInputType = false
getset

The default return value when the input type is invalid. (not a list)

Referenced by VolumeControl.WPF.Converters.ArrayHasItemsBooleanConverter.Convert().


The documentation for this class was generated from the following file: