Class CreateUpdateSpreadsheetNameDialogViewModel
View model of the CreateUpdateSpreadsheetNameDialog.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Controls.Spreadsheet.Dialogs
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class CreateUpdateSpreadsheetNameDialogViewModel : DialogViewModelBase<CreateUpdateSpreadsheetNameDialogContext>, INotifyPropertyChanged
Constructors
CreateUpdateSpreadsheetNameDialogViewModel(CreateUpdateSpreadsheetNameDialogContext, Action)
Initializes a new instance of the CreateUpdateSpreadsheetNameDialogViewModel class.
Declaration
public CreateUpdateSpreadsheetNameDialogViewModel(CreateUpdateSpreadsheetNameDialogContext context, Action closeDialogAction)
Parameters
CreateUpdateSpreadsheetNameDialogContext
context
The context. |
System.Action
closeDialogAction
The close dialog action. |
Properties
CanChangeRefersTo
Gets the value indicating whether the refers to value can be changed.
Declaration
public bool CanChangeRefersTo { get; }
Property Value
System.Boolean
The value indicating whether the refers to value can be changed. |
CanChangeScope
Gets a value indicating whether scope can be changed.
Declaration
public bool CanChangeScope { get; }
Property Value
System.Boolean
The value indicating whether scope can be changed. |
CloseCommand
Gets or sets the close command.
Declaration
public ICommand CloseCommand { get; set; }
Property Value
System.Windows.Input.ICommand
The close command. |
Comment
Gets or sets the comment for the name.
Declaration
public string Comment { get; set; }
Property Value
System.String
The comment. |
DialogHeader
Gets the dialog header.
Declaration
public string DialogHeader { get; }
Property Value
System.String
The dialog header. |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
System.String
The name. |
OkCommand
Gets or sets the ok command.
Declaration
public ICommand OkCommand { get; set; }
Property Value
System.Windows.Input.ICommand
The ok command. |
RefersTo
Gets or sets the location of the range that the name refers to.
Declaration
public string RefersTo { get; set; }
Property Value
System.String
The location of the range that the name refers to. |
Scopes
Gets the scopes.
Declaration
public IEnumerable<SpreadsheetNameCollectionScope> Scopes { get; }
Property Value
System.Collections.Generic.IEnumerable<SpreadsheetNameCollectionScope>
The scopes. |
SelectedScope
Gets or sets the selected scope of the name.
Declaration
public SpreadsheetNameCollectionScope SelectedScope { get; set; }
Property Value
SpreadsheetNameCollectionScope
The selected scope. |
Methods
ApplyChanges()
Applies the changes.
Declaration
public bool ApplyChanges()
Returns
System.Boolean
The value representing whether the changes have been applied. |