Class Clipper
Clips a ratio of its content.
Namespace: Syncfusion.Windows.Primitives
Assembly: Syncfusion.SfInput.Wpf.dll
Syntax
public abstract class Clipper : ContentControl
Constructors
Clipper()
Initializes a new instance of the Clipper class.
Declaration
protected Clipper()
Fields
RatioVisibleProperty
Identifies the RatioVisible dependency property.
Declaration
public static readonly DependencyProperty RatioVisibleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
RatioVisible
Gets or sets the percentage of the item visible.
Declaration
public double RatioVisible { get; set; }
Property Value
Type |
---|
System.Double |
Methods
ClipContent()
Updates the clip geometry.
Declaration
protected abstract void ClipContent()
OnRatioVisibleChanged(Double, Double)
RatioVisibleProperty property changed handler.
Declaration
protected virtual void OnRatioVisibleChanged(double oldValue, double newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Double | oldValue | Old value. |
System.Double | newValue | New value. |