Class
ScaleFactorSlider

Provides methods and properties for using a ScaleFactorSlider.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Controls

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class ScaleFactorSlider : ControlBase, IDisposable

Inheritance: objectControlBaseScaleFactorSlider

Implements: IDisposable

Inherited Members ControlBase.GetTemplateChild<T>(string)ControlBase.GetRequiredTemplateChild<T>(string, bool)

Constructors

ScaleFactorSlider()

Initializes a new instance of the ScaleFactorSlider class.

Declaration

cs-api-definition
public ScaleFactorSlider()

Fields

ActiveSheetEditorProperty

The Dependency property ActiveSheetEditorProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty ActiveSheetEditorProperty

Field Value

DependencyProperty

ScaleFactorProperty

The Dependency property ScaleFactorProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty ScaleFactorProperty

Field Value

DependencyProperty

Properties

ActiveSheetEditor

Gets or sets the active sheet editor.

Declaration

cs-api-definition
public IRadSheetEditor ActiveSheetEditor { get; set; }

Property Value

IRadSheetEditor

The active sheet editor.

ScaleFactor

Gets or sets the scale factor.

Declaration

cs-api-definition
public Size ScaleFactor { get; set; }

Property Value

Size

The scale factor.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

Dispose(bool)

Disposes the specified clean up managed resources.

Declaration

cs-api-definition
protected virtual void Dispose(bool cleanUpManagedResources)

Parameters

cleanUpManagedResources

bool

The clean up managed resources.

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

SetSliderScaleFactor(Size)

Sets the slider scale factor.

Declaration

cs-api-definition
public void SetSliderScaleFactor(Size scaleFactor)

Parameters

scaleFactor

Size

The scale factor.