Vereinsmeisterschaften  22aa7800eae54b428d40e835886cefe1fdefdfdf
This is a software that can be used to manage the internal competition of the swimming club Illertissen called "Vereinsmeisterschaften".
Loading...
Searching...
No Matches
Vereinsmeisterschaften.Converters.PersonCompetitionStatusToBrushConverter Class Reference

Converter that converts the competition status of a person to a corresponding brush color. More...

Inheritance diagram for Vereinsmeisterschaften.Converters.PersonCompetitionStatusToBrushConverter:

Public Member Functions

object Convert (object[] values, Type targetType, object parameter, CultureInfo culture)
 Conversion method.
 
object[] ConvertBack (object value, Type[] targetTypes, object parameter, CultureInfo culture)
 Back conversion method.
 

Properties

SolidColorBrush BrushCompetitionMissingAndSelected = new SolidColorBrush(Colors.Red) [get, set]
 Brush used when the competition is missing and selected.
 
SolidColorBrush BrushCompetitionMissing = new SolidColorBrush(Colors.Gray) [get, set]
 Brush used when the competition is missing but not selected.
 
SolidColorBrush BrushCompetitionAvailable = new SolidColorBrush(Colors.Transparent) [get, set]
 Brush used when the competition is available.
 

Detailed Description

Converter that converts the competition status of a person to a corresponding brush color.

values[0] = isCompetitionAvailable values[1] = isCompetitionSelected

Definition at line 14 of file PersonCompetitionStatusToBrushConverter.cs.

Member Function Documentation

◆ Convert()

object Vereinsmeisterschaften.Converters.PersonCompetitionStatusToBrushConverter.Convert ( object[] values,
Type targetType,
object parameter,
CultureInfo culture )

Conversion method.

Parameters
valuesValues used for conversion
targetTypeTarget Type
parameterConverterParameter
cultureCultureInfo
Returns
Converted object

Definition at line 39 of file PersonCompetitionStatusToBrushConverter.cs.

◆ ConvertBack()

object[] Vereinsmeisterschaften.Converters.PersonCompetitionStatusToBrushConverter.ConvertBack ( object value,
Type[] targetTypes,
object parameter,
CultureInfo culture )

Back conversion method.

Not implemented for this converter.

Parameters
valueValue used for conversion
targetTypesTarget Type array
parameterConverterParameter
cultureCultureInfo
Returns
Back conversion result
Exceptions
NotImplementedException

Definition at line 61 of file PersonCompetitionStatusToBrushConverter.cs.

Property Documentation

◆ BrushCompetitionAvailable

SolidColorBrush Vereinsmeisterschaften.Converters.PersonCompetitionStatusToBrushConverter.BrushCompetitionAvailable = new SolidColorBrush(Colors.Transparent)
getset

Brush used when the competition is available.

Definition at line 29 of file PersonCompetitionStatusToBrushConverter.cs.

◆ BrushCompetitionMissing

SolidColorBrush Vereinsmeisterschaften.Converters.PersonCompetitionStatusToBrushConverter.BrushCompetitionMissing = new SolidColorBrush(Colors.Gray)
getset

Brush used when the competition is missing but not selected.

Definition at line 24 of file PersonCompetitionStatusToBrushConverter.cs.

◆ BrushCompetitionMissingAndSelected

SolidColorBrush Vereinsmeisterschaften.Converters.PersonCompetitionStatusToBrushConverter.BrushCompetitionMissingAndSelected = new SolidColorBrush(Colors.Red)
getset

Brush used when the competition is missing and selected.

Definition at line 19 of file PersonCompetitionStatusToBrushConverter.cs.


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