Skip to content

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

NameSummary
.ctor

Properties

NameSummary
ValueXGets or sets the X value (0.0 to 1.0 by default).
ValueYGets or sets the Y value (0.0 to 1.0 by default).
MinimumXGets or sets the minimum X value.
MaximumXGets or sets the maximum X value.
MinimumYGets or sets the minimum Y value.
MaximumYGets or sets the maximum Y value.
ThumbSizeGets or sets the thumb size.
ThumbBrushGets or sets the thumb brush.

Fields

NameSummary
static ValueXPropertyProperty for [ValueX](#
static ValueYPropertyProperty for [ValueY](#
static MinimumXPropertyProperty for [MinimumX](#
static MaximumXPropertyProperty for [MaximumX](#
static MinimumYPropertyProperty for [MinimumY](#
static MaximumYPropertyProperty for [MaximumY](#
static ThumbSizePropertyProperty for [ThumbSize](#
static ThumbBrushPropertyProperty for [ThumbBrush](#

Methods

NameSummary
OnApplyTemplateCalled when the control's template is applied. In simple terms, this means the method is called just before the control is displayed.
OnPropertyChangedCalled when a avalonia property changes on the object.
Inherited members