New to Telerik UI for WPFStart a free 30-day trial

Converts tiles to a fluid state representation for the TileView control.

Definition

Namespace:Telerik.Windows.Controls.TileView

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
public class TileToFluideStateConverter : IValueConverter

Inheritance: objectTileToFluideStateConverter

Implements: IValueConverter

Constructors

C#
public TileToFluideStateConverter()

Methods

Converts the specified tile to its fluid state representation.

C#
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobject

The tile value to be converted.

targetTypeType

The type of the target.

parameterobject

An optional parameter that can influence the conversion.

cultureCultureInfo

The culture-specific information that may affect the conversion.

Returns:

object

The converted tile in its fluid state representation.

Converts a TileView state from a fluid state to its corresponding tile state.

C#
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters:valueobject

The value to convert back, typically a fluid state representation.

targetTypeType

The type of the property to convert to.

parameterobject

An optional parameter to use during the conversion.

cultureCultureInfo

The culture information to consider during the conversion.

Returns:

object

The converted value, representing the original tile state.