Class LayoutConfigurationModel
Defines a layout for the Open file, Save file, and Open folder dialogs.
Inherited Members
Namespace: Telerik.WinControls.FileDialogs
Assembly: Telerik.WinControls.UI.dll
Syntax
public class LayoutConfigurationModel : ViewModelBase, INotifyPropertyChanged, IDisposable
Constructors
LayoutConfigurationModel(LayoutType)
Initializes a new instance of the LayoutConfigurationModel class.
Declaration
public LayoutConfigurationModel(LayoutType layoutType)
Parameters
LayoutType
layoutType
The type of the layout. |
Properties
IconSize
LayoutType
Gets the LayoutType.
Declaration
public LayoutType LayoutType { get; protected set; }
Property Value
LayoutType
|
NameKey
Gets the NameKey to be used for localizable strings.
Declaration
public string NameKey { get; }
Property Value
System.String
|
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
|
Returns
System.Boolean
|
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
System.Int32
|
Overrides
GetNameKeyForType(LayoutType)
A method to provide the localization key for the LayoutType.
Declaration
protected virtual string GetNameKeyForType(LayoutType layoutType)
Parameters
LayoutType
layoutType
|
Returns
System.String
|
GetSizeForType(LayoutType)
A method to provide the IconSize for the LayoutType.
Declaration
protected virtual IconSize GetSizeForType(LayoutType layoutType)
Parameters
LayoutType
layoutType
|
Returns
IconSize
The chosen IconSize. |