Class Clipper
Clips a ratio of its content.
Inheritance
System.Object
Clipper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls.Primitives
Assembly: OpenSilver.dll
Syntax
[NotImplemented]
public abstract class Clipper : ContentControl
Constructors
| Improve this Doc View SourceClipper()
Initializes a new instance of the Clipper class.
Declaration
protected Clipper()
Fields
| Improve this Doc View SourceRatioVisibleProperty
Identifies the RatioVisible dependency property.
Declaration
public static readonly DependencyProperty RatioVisibleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceRatioVisible
Gets or sets the percentage of the item visible.
Declaration
public double RatioVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
| Improve this Doc View SourceClipContent()
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. |