New to Telerik UI for WPFStart a free 30-day trial

Provides methods and properties for using a ScaleFactorSlider.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Controls

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class ScaleFactorSlider : ControlBase, IDisposable

Inheritance: objectControlBaseScaleFactorSlider

Implements: IDisposable

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

Constructors

Initializes a new instance of the ScaleFactorSlider class.

C#
public ScaleFactorSlider()

Fields

ActiveSheetEditorProperty

DependencyProperty

The Dependency property ActiveSheetEditorProperty.

C#
public static readonly DependencyProperty ActiveSheetEditorProperty

ScaleFactorProperty

DependencyProperty

The Dependency property ScaleFactorProperty.

C#
public static readonly DependencyProperty ScaleFactorProperty

Properties

Gets or sets the active sheet editor.

C#
public IRadSheetEditor ActiveSheetEditor { get; set; }
Property Value:

The active sheet editor.

Gets or sets the scale factor.

C#
public Size ScaleFactor { get; set; }
Property Value:

The scale factor.

Methods

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

C#
public void Dispose()

Implements: IDisposable.Dispose()

Disposes the specified clean up managed resources.

C#
protected virtual void Dispose(bool cleanUpManagedResources)
Parameters:cleanUpManagedResourcesbool

The clean up managed resources.

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.

C#
public override void OnApplyTemplate()

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

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Sets the slider scale factor.

C#
public void SetSliderScaleFactor(Size scaleFactor)
Parameters:scaleFactorSize

The scale factor.