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

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

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

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 list of items to a boolean value that depends on whether the list is empty or not.
When the list is empty, returns false; when the list has at least one item, returns true.

Property Documentation

◆ ResultOnInvalidInputType

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

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

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


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