Class
LayoutConfigurationModel

Defines a layout for the Open file, Save file, and Open folder dialogs.

Definition

Namespace:Telerik.Windows.Controls.FileDialogs

Assembly:Telerik.Windows.Controls.FileDialogs.dll

Syntax:

cs-api-definition
public class LayoutConfigurationModel : ViewModelBase, INotifyPropertyChanged, IDisposable

Inheritance: objectViewModelBaseLayoutConfigurationModel

Implements: IDisposableINotifyPropertyChanged

Inherited Members ViewModelBase.VerifyPropertyName(string)ViewModelBase.InvokeOnUIThread(Action)ViewModelBase.Dispose()ViewModelBase.RaisePropertyChanged(string)ViewModelBase.OnPropertyChanged(string)ViewModelBase.OnPropertyChanged<T>(Expression<Func<T>>)ViewModelBase.Dispose(bool)ViewModelBase.PropertyChanged

Constructors

LayoutConfigurationModel(LayoutType)

Initializes a new instance of the LayoutConfigurationModel class.

Declaration

cs-api-definition
public LayoutConfigurationModel(LayoutType layoutType)

Parameters

layoutType

LayoutType

The type of the layout.

Properties

IconSize

Gets the IconSize.

Declaration

cs-api-definition
public IconSize IconSize { get; }

Property Value

IconSize

LayoutType

Gets the LayoutType.

Declaration

cs-api-definition
public LayoutType LayoutType { get; protected set; }

Property Value

LayoutType

NameKey

Gets the NameKey to be used for localizable strings.

Declaration

cs-api-definition
public string NameKey { get; }

Property Value

string

Methods

Equals(object)

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

Returns

bool

Overrides object.Equals(object)

GetHashCode()

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

Overrides object.GetHashCode()

GetNameKeyForType(LayoutType)

A method to provide the localization key for the LayoutType.

Declaration

cs-api-definition
protected virtual string GetNameKeyForType(LayoutType layoutType)

Parameters

layoutType

LayoutType

Returns

string

GetSizeForType(LayoutType)

A method to provide the IconSize for the LayoutType.

Declaration

cs-api-definition
protected virtual IconSize GetSizeForType(LayoutType layoutType)

Parameters

layoutType

LayoutType

Returns

IconSize

The chosen IconSize.