SquareSlider class¶
Defined in
Namespace: CrissCross.Avalonia.UI.Controls
Assembly: CrissCross.Avalonia.UI.dll
Full name: CrissCross.Avalonia.UI.Controls.SquareSlider
Modifiers: public
Summary¶
Represents a square-shaped 2D slider control for selecting X/Y values.
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net471
Class hierarchy
classDiagram
class SquareSlider
class TemplatedControl
TemplatedControl <|-- SquareSlider
Inherits from: TemplatedControl
Constructors¶
| Name | Summary |
|---|---|
| .ctor |
Properties¶
| Name | Summary |
|---|---|
| ValueX | Gets or sets the X value (0.0 to 1.0 by default). |
| ValueY | Gets or sets the Y value (0.0 to 1.0 by default). |
| MinimumX | Gets or sets the minimum X value. |
| MaximumX | Gets or sets the maximum X value. |
| MinimumY | Gets or sets the minimum Y value. |
| MaximumY | Gets or sets the maximum Y value. |
| ThumbSize | Gets or sets the thumb size. |
| ThumbBrush | Gets or sets the thumb brush. |
Fields¶
| Name | Summary |
|---|---|
| static ValueXProperty | Property for [ValueX](# |
| static ValueYProperty | Property for [ValueY](# |
| static MinimumXProperty | Property for [MinimumX](# |
| static MaximumXProperty | Property for [MaximumX](# |
| static MinimumYProperty | Property for [MinimumY](# |
| static MaximumYProperty | Property for [MaximumY](# |
| static ThumbSizeProperty | Property for [ThumbSize](# |
| static ThumbBrushProperty | Property for [ThumbBrush](# |
Methods¶
| Name | Summary |
|---|---|
| OnApplyTemplate | Called when the control's template is applied. In simple terms, this means the method is called just before the control is displayed. |
| OnPropertyChanged | Called when a avalonia property changes on the object. |