Skip to content

SelectionControlAssist

PigeonMaster edited this page Mar 4, 2021 · 1 revision

Summary

SelectionControlAssist provides some properties for decorations of CheckBox and RadioButton.

Available properties / settings

Size
Foreground
InnerForeground (only RadioButton supported)

Example

Change decoration Size to 24 of CheckBox

<CheckBox ... 
          assists:SelectionControlAssist.Size="24"
          ... />

Change decoration Size to 24 of CheckBox, but using Style to affects all checkboxes under this StackPanel.

<StackPanel ...>
    <StackPanel.Styles>
        <Style Selector="CheckBox">
            <Setter Property="assists:SelectionControlAssist.Size" Value="24"/>
        </Style>
    </StackPanel.Styles>
    <CheckBox Content="1"/>
    <CheckBox Content="2"/>
    <CheckBox Content="3"/>
    <CheckBox Content="4"/>
</StackPanel>

Material.Avalonia Wiki pages is still WIP (work in progress), Pages could not ready for show if they unclickable.

Main section

Widgets / Controls

Theming

Builders

Assist for widgets

Clone this wiki locally