Skip to content

Class LayoutConverter

Definition

Namespace: StardewUI.Framework.Converters
Assembly: StardewUI.dll

String converter for the LayoutParameters type.

public class LayoutConverter : 
    StardewUI.Framework.Converters.IValueConverter<string, StardewUI.Layout.LayoutParameters>, 
    StardewUI.Framework.Converters.IValueConverter

Inheritance
Object ⇦ LayoutConverter

Implements
IValueConverter<string, LayoutParameters>, IValueConverter

Members

Constructors

Name Description
LayoutConverter()

Methods

Name Description
Convert(string) Converts a value from the source type to the destination type.

Details

Constructors

LayoutConverter()

public LayoutConverter();

Methods

Convert(string)

Converts a value from the source type to the destination type.

public StardewUI.Layout.LayoutParameters Convert(string value);
Parameters

value   string
The value to convert.

Returns

LayoutParameters