Click or drag to resize
DisplayStateToMessageConverterConvert Method
Returns a String representing a text message that corresponds to the specified state information.

Namespace: Kjs.AppLife.Update.Wpf.Converters
Assembly: Kjs.AppLife.Update.Wpf (in Kjs.AppLife.Update.Wpf.dll) Version: 5.1.0.0 (5.1.0.0)
Syntax
public Object Convert(
	Object[] values,
	Type targetType,
	Object parameter,
	CultureInfo culture
)

Parameters

values
Type: SystemObject
An array of three or four values that represent the following state information:
targetType
Type: SystemType
This parameter is not used.
parameter
Type: SystemObject
(Required) A String that describes the text to display. The possible values are:
  • Idle
  • Checking
  • NoUpdateAvailable
  • Downloading
  • ReadyToApply
culture
Type: System.GlobalizationCultureInfo
This parameter is not used.

Return Value

Type: Object
A String representing the current state.

Implements

IMultiValueConverterConvert(Object, Type, Object, CultureInfo)
See Also