Skip to content

ThumbRate class

Defined in

Namespace: CrissCross.Avalonia.UI.Controls Assembly: CrissCross.Avalonia.UI.dll Full name: CrissCross.Avalonia.UI.Controls.ThumbRate Modifiers: public

Summary

        Allows to rate positively or negatively by clicking on one of the thumbs.
        

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 ThumbRate
class TemplatedControl
TemplatedControl <|-- ThumbRate

Inherits from: TemplatedControl

Constructors

NameSummary
.ctor

Properties

NameSummary
StateGets or sets the state.
ThumbUpCommandGets or sets the thumb up command.
ThumbDownCommandGets or sets the thumb down command.
ThumbSizeGets or sets the thumb size.
SelectedBrushGets or sets the selected brush.
UnselectedBrushGets or sets the unselected brush.

Fields

NameSummary
static StatePropertyProperty for [State](#
static ThumbUpCommandPropertyProperty for [ThumbUpCommand](#
static ThumbDownCommandPropertyProperty for [ThumbDownCommand](#
static ThumbSizePropertyProperty for [ThumbSize](#
static SelectedBrushPropertyProperty for [SelectedBrush](#
static UnselectedBrushPropertyProperty for [UnselectedBrush](#
static StateChangedEventDefines the [StateChanged](# event.

Methods

NameSummary
ThumbUpSets the state to liked.
ThumbDownSets the state to disliked.

Events

NameSummary
StateChangedOccurs when the state changes.
Inherited members