ClassCreateUpdateSpreadsheetNameDialogViewModel
View model of the CreateUpdateSpreadsheetNameDialog.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class CreateUpdateSpreadsheetNameDialogViewModel : DialogViewModelBase<CreateUpdateSpreadsheetNameDialogContext>
Inheritance: objectDialogViewModelBase<CreateUpdateSpreadsheetNameDialogContext>CreateUpdateSpreadsheetNameDialogViewModel
Inherited Members
Constructors
CreateUpdateSpreadsheetNameDialogViewModel(CreateUpdateSpreadsheetNameDialogContext, Action)
Initializes a new instance of the CreateUpdateSpreadsheetNameDialogViewModel class.
Declaration
public CreateUpdateSpreadsheetNameDialogViewModel(CreateUpdateSpreadsheetNameDialogContext context, Action closeDialogAction)
Parameters
context
CreateUpdateSpreadsheetNameDialogContext
The context.
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
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
The value indicating whether scope can be changed.
CloseCommand
Gets or sets the close command.
Declaration
public ICommand CloseCommand { get; set; }
Property Value
The close command.
Comment
Gets or sets the comment for the name.
Declaration
public string Comment { get; set; }
Property Value
The comment.
DialogHeader
Gets the dialog header.
Declaration
public string DialogHeader { get; }
Property Value
The dialog header.
Name
Gets or sets the name.
OkCommand
Gets or sets the ok command.
Declaration
public ICommand OkCommand { get; set; }
Property Value
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
The location of the range that the name refers to.
Scopes
Gets the scopes.
Declaration
public IEnumerable<SpreadsheetNameCollectionScope> Scopes { get; }
Property Value
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
The value representing whether the changes have been applied.