Class
DropDownItemModelBase

Represents the drop down item model.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Controls

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public abstract class DropDownItemModelBase : INotifyPropertyChanged

Inheritance: objectDropDownItemModelBase

Derived Classes: PageMarginsDropDownItemModelPageOrientationDropDownItemModelPaperTypeDropDownItemModelPrintCollatedDropDownItemModelPrintWhatDropDownItemModelScalingTypeDropDownItemModel

Implements: INotifyPropertyChanged

Constructors

DropDownItemModelBase()

Declaration

cs-api-definition
protected DropDownItemModelBase()

Properties

Command

Gets or sets the command.

Declaration

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

Property Value

ICommand

The command.

Description

Gets or sets the description.

Declaration

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

Property Value

string

The description.

Header

Gets or sets the header.

Declaration

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

Property Value

string

The header.

Icon

Gets or sets the drop down item icon.

Declaration

cs-api-definition
public BitmapImage Icon { get; set; }

Property Value

BitmapImage

The drop down item icon.

Methods

DipToInchString(double)

Converts Dip units to inches.

Declaration

cs-api-definition
protected string DipToInchString(double lengthInDip)

Parameters

lengthInDip

double

The length in dip.

Returns

string

The length in inches.

OnPropertyChanged(string)

Called when a property is changed.

Declaration

cs-api-definition
protected virtual void OnPropertyChanged(string name)

Parameters

name

string

The name.

Events

PropertyChanged

Occurs when a property value changes.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged