Class
CreateUpdateSpreadsheetNameDialogViewModel

View model of the CreateUpdateSpreadsheetNameDialog.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class CreateUpdateSpreadsheetNameDialogViewModel : DialogViewModelBase<CreateUpdateSpreadsheetNameDialogContext>

Inheritance: objectDialogViewModelBase<CreateUpdateSpreadsheetNameDialogContext>CreateUpdateSpreadsheetNameDialogViewModel

Inherited Members DialogViewModelBase<CreateUpdateSpreadsheetNameDialogContext>.Context

Constructors

CreateUpdateSpreadsheetNameDialogViewModel(CreateUpdateSpreadsheetNameDialogContext, Action)

Initializes a new instance of the CreateUpdateSpreadsheetNameDialogViewModel class.

Declaration

cs-api-definition
public CreateUpdateSpreadsheetNameDialogViewModel(CreateUpdateSpreadsheetNameDialogContext context, Action closeDialogAction)

Parameters

context

CreateUpdateSpreadsheetNameDialogContext

The context.

closeDialogAction

Action

The close dialog action.

Properties

CanChangeRefersTo

Gets the value indicating whether the refers to value can be changed.

Declaration

cs-api-definition
public bool CanChangeRefersTo { get; }

Property Value

bool

The value indicating whether the refers to value can be changed.

CanChangeScope

Gets a value indicating whether scope can be changed.

Declaration

cs-api-definition
public bool CanChangeScope { get; }

Property Value

bool

The value indicating whether scope can be changed.

CloseCommand

Gets or sets the close command.

Declaration

cs-api-definition
public ICommand CloseCommand { get; set; }

Property Value

ICommand

The close command.

Comment

Gets or sets the comment for the name.

Declaration

cs-api-definition
public string Comment { get; set; }

Property Value

string

The comment.

DialogHeader

Gets the dialog header.

Declaration

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

Property Value

string

The dialog header.

Name

Gets or sets the name.

Declaration

cs-api-definition
public string Name { get; set; }

Property Value

string

The name.

OkCommand

Gets or sets the ok command.

Declaration

cs-api-definition
public ICommand OkCommand { get; set; }

Property Value

ICommand

The ok command.

RefersTo

Gets or sets the location of the range that the name refers to.

Declaration

cs-api-definition
public string RefersTo { get; set; }

Property Value

string

The location of the range that the name refers to.

Scopes

Gets the scopes.

Declaration

cs-api-definition
public IEnumerable<SpreadsheetNameCollectionScope> Scopes { get; }

Property Value

IEnumerable<SpreadsheetNameCollectionScope>

The scopes.

SelectedScope

Gets or sets the selected scope of the name.

Declaration

cs-api-definition
public SpreadsheetNameCollectionScope SelectedScope { get; set; }

Property Value

SpreadsheetNameCollectionScope

The selected scope.

Methods

ApplyChanges()

Applies the changes.

Declaration

cs-api-definition
public bool ApplyChanges()

Returns

bool

The value representing whether the changes have been applied.