You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
page-title: "Converting to v24.2 - Conversion Notes"
4
+
order: 98
5
+
---
6
+
# Converting to v24.2
7
+
8
+
## Avalonia UI Dependency
9
+
10
+
Updated the minimum Avalonia UI dependency from v11.0.7 to v11.1.0.
11
+
12
+
## MenuItem Toggle Support
13
+
14
+
Avalonia v11.1.0 adds built-in toggle support for menu items using either a checkbox or radio button. Previously, a `CheckBox` or `RadioButton` control had to be assigned as content for the `MenuItem.Icon` property to reflect the toggle state.
15
+
16
+
Actipro Themes provided the [CheckBoxMenuIndicator](xref:@ActiproUIRoot.Themes.ControlThemeKind.CheckBoxMenuIndicator) and [RadioButtonMenuIndicator](xref:@ActiproUIRoot.Themes.ControlThemeKind.RadioButtonMenuIndicator) themes specifically for the purpose of using `CheckBox` or `RadioButton` as icons. Actipro's native themes have been updated to support the new `MenuItem` toggle capabilities, and developers should migrate their code to use the new features as well. The [CheckBoxMenuIndicator](xref:@ActiproUIRoot.Themes.ControlThemeKind.CheckBoxMenuIndicator) and [RadioButtonMenuIndicator](xref:@ActiproUIRoot.Themes.ControlThemeKind.RadioButtonMenuIndicator) themes are no longer necessary and will be removed in a future release.
17
+
18
+
## Removed Control Themes
19
+
20
+
Avalonia v11.1.0 defines a default control theme for `ContentControl` (including derived `UserControl`) and `NativeMenuBar`, so Actipro Themes no longer needs to provide a default control theme. These control themes and their corresponding entires in [ControlThemeKind](xref:@ActiproUIRoot.Themes.ControlThemeKind) have been removed.
All children of [SettingsExpander](xref:@ActiproUIRoot.Controls.SettingsExpander) must be instances of [SettingsCard](settings-card.md). When binding `ItemsSource` to a collection of view models, each view model will automatically be wrapped in a [SettingsCard](settings-card.md) container with the `DataContext` set to the view model.
277
+
278
+
@if (avalonia) {
279
+
Properties on the view model can be bound to properties on the [SettingsCard](settings-card.md) by assigning an `ItemContainerTheme` like shown in the following example:
Properties on the view model can be bound to properties on the [SettingsCard](settings-card.md) by assigning an `ItemContainerStyle` like shown in the following example:
Copy file name to clipboardExpand all lines: Documentation/topics/supported-technologies.md
+45-1Lines changed: 45 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,11 +13,55 @@ The products have assemblies available for multiple runtime frameworks, includin
13
13
14
14
- .NET 6 or later
15
15
16
-
The assemblies have the following dependencies on UI frameworks:
16
+
### Avalonia UI Support Matrix
17
+
18
+
The assemblies have dependencies on the Avalonia UI framework as follows:
19
+
20
+
<table>
21
+
<thead>
22
+
23
+
<tr>
24
+
<th>Actipro Controls Versions</th>
25
+
<th>Avalonia UI Support</th>
26
+
</tr>
27
+
28
+
</thead>
29
+
<tbody>
30
+
31
+
<tr>
32
+
<td>Actipro Controls v24.2</td>
33
+
<td>
34
+
35
+
- Avalonia UI v11.1.0 or later
36
+
- Native themes compatible up to Avalonia UI v11.1.0
37
+
-*Minor updates to Avalonia UI are expected to be supported and will be verified as they are released*
38
+
39
+
</td>
40
+
</tr>
41
+
42
+
<tr>
43
+
<td>Actipro Controls v24.1</td>
44
+
<td>
17
45
18
46
- Avalonia UI v11.0.7 or later
19
47
- Native themes compatible up to Avalonia UI v11.0.11
20
48
49
+
</td>
50
+
</tr>
51
+
52
+
<tr>
53
+
<td>Actipro Controls v23.1</td>
54
+
<td>
55
+
56
+
- Avalonia UI v11.0.5 or later
57
+
- Native themes compatible up to Avalonia UI v11.0.7
58
+
59
+
</td>
60
+
</tr>
61
+
62
+
</tbody>
63
+
</table>
64
+
21
65
> [!NOTE]
22
66
> While they do not change frequently, native themes must be kept in sync with Avalonia control updates and may not work with untested releases. If you encounter any issues with native themes, please contact [Support](support.md).
Copy file name to clipboardExpand all lines: Documentation/topics/themes/native-control-themes.md
+13-10Lines changed: 13 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ This example shows how to render a solid accented button:
73
73
74
74
### Button Controls
75
75
76
-
All button control themes support the `accent`, `success`, `warning`, and `danger` style class names for semantic color variants.
76
+
Most button control themes support the `accent`, `success`, `warning`, and `danger` style class names for semantic color variants.
77
77
78
78

79
79
@@ -87,7 +87,7 @@ All button control themes support the `accent`, `success`, `warning`, and `dange
87
87
88
88
-[ButtonBase](xref:@ActiproUIRoot.Themes.ControlThemeKind.ButtonBase) - Base control theme used by several others.
89
89
-[ButtonInvisible](xref:@ActiproUIRoot.Themes.ControlThemeKind.ButtonInvisible) (`theme-invisible`) - Completely transparent but can be clicked.
90
-
-[ButtonLink](xref:@ActiproUIRoot.Themes.ControlThemeKind.ButtonLink) (`theme-link`) - Has a link-like appearance.
90
+
-[ButtonLink](xref:@ActiproUIRoot.Themes.ControlThemeKind.ButtonLink) (`theme-link`) - Has a link-like appearance (unrelated to `HyperlinkButton` control).
91
91
-[ButtonOutline](xref:@ActiproUIRoot.Themes.ControlThemeKind.ButtonOutline) (`theme-outline`) - Has an outline appearance.
92
92
-[ButtonSoft](xref:@ActiproUIRoot.Themes.ControlThemeKind.ButtonSoft) (`theme-soft`) - Has a soft fill appearance.
93
93
-[ButtonSolid](xref:@ActiproUIRoot.Themes.ControlThemeKind.ButtonSolid) (`theme-solid`) - Has a solid appearance.
@@ -107,6 +107,12 @@ All button control themes support the `accent`, `success`, `warning`, and `dange
107
107
-[DropDownButtonSolid](xref:@ActiproUIRoot.Themes.ControlThemeKind.DropDownButtonSolid) (`theme-solid`) - Has a solid appearance.
108
108
-[DropDownButtonSubtle](xref:@ActiproUIRoot.Themes.ControlThemeKind.DropDownButtonSubtle) (`theme-subtle`) - Has a subtle fill appearance, only on pointer over.
109
109
110
+
#### HyperlinkButton Type
111
+
112
+
`HyperlinkButton` is a special button with a link-like appearance that can show alternate colors if a link has already been visited and open a URI when clicked. Due to the specific nature of this control and the base need for two distinct colors (visited and un-visited), this button type **does not** support the control themes discussed in the "Button Type" section or semantic color variants.
113
+
114
+
If theme and semantic color variant capabilities are desired, an alternative to `HyperlinkButton` is to use a standard `Button` with the `theme-link` theme. This will achieve a similar appearance as `HyperlinkButton`, although without URI navigation or distinct color options for visited links.
115
+
110
116
#### RepeatButton Type
111
117
112
118
`RepeatButton` uses the same control themes as `Button`. See the "Button Type" section for details.
@@ -347,16 +353,14 @@ The following additional control theme is used by the default control theme:
347
353
#### MenuFlyoutPresenter Type
348
354
349
355
-[MenuFlyoutPresenter](xref:@ActiproUIRoot.Themes.ControlThemeKind.MenuFlyoutPresenter) - Default control theme.
356
+
-[MenuFlyoutPresenterHorizontal](xref:@ActiproUIRoot.Themes.ControlThemeKind.MenuFlyoutPresenterHorizontal) - Control theme used for horizontal flyout menus.
350
357
351
358
#### MenuItem Type
352
359
353
360
-[MenuItem](xref:@ActiproUIRoot.Themes.ControlThemeKind.MenuItem) - Default control theme.
354
361
-[MenuItemHeading](xref:@ActiproUIRoot.Themes.ControlThemeKind.MenuItemHeading) (`theme-menuitem-heading`) - Bold heading that is a disabled menu item.
355
362
-[MenuItemTopLevel](xref:@ActiproUIRoot.Themes.ControlThemeKind.MenuItemTopLevel) - A menu item directly within a menu bar.
356
-
357
-
#### NativeMenuBar Type
358
-
359
-
-[NativeMenuBar](xref:@ActiproUIRoot.Themes.ControlThemeKind.NativeMenuBar) - Default control theme.
363
+
-[MenuItemHorizontal](xref:@ActiproUIRoot.Themes.ControlThemeKind.MenuItemHorizontal) - A menu item used within a horizontal flyout menu.
360
364
361
365
#### Separator Type
362
366
@@ -423,7 +427,7 @@ The `CheckBox`, `RadioButton`, and `ToggleSwitch` control type themes automatica
423
427
-[CheckBoxBase](xref:@ActiproUIRoot.Themes.ControlThemeKind.CheckBoxBase) - Base control theme used by several others.
424
428
-[CheckBoxOutline](xref:@ActiproUIRoot.Themes.ControlThemeKind.CheckBoxOutline) (`theme-outline`) - Has an outline appearance.
425
429
-[CheckBoxSolid](xref:@ActiproUIRoot.Themes.ControlThemeKind.CheckBoxSolid) (`theme-solid`) - Has a solid appearance.
426
-
-[CheckBoxMenuIndicator](xref:@ActiproUIRoot.Themes.ControlThemeKind.CheckBoxMenuIndicator) - Used within `MenuItem.Icon` to indicate checked state.
430
+
-[CheckBoxMenuIndicator](xref:@ActiproUIRoot.Themes.ControlThemeKind.CheckBoxMenuIndicator) - (Deprecated) Used within `MenuItem.Icon` to indicate checked state. This theme is no longer necessary since `MenuItem` added built-in support for toggle indicators.
427
431
428
432
#### RadioButton Type
429
433
@@ -434,7 +438,7 @@ The `CheckBox`, `RadioButton`, and `ToggleSwitch` control type themes automatica
434
438
-[RadioButtonBase](xref:@ActiproUIRoot.Themes.ControlThemeKind.RadioButtonBase) - Base control theme used by several others.
435
439
-[RadioButtonOutline](xref:@ActiproUIRoot.Themes.ControlThemeKind.RadioButtonOutline) (`theme-outline`) - Has an outline appearance.
436
440
-[RadioButtonSolid](xref:@ActiproUIRoot.Themes.ControlThemeKind.RadioButtonSolid) (`theme-solid`) - Has a solid appearance.
437
-
-[RadioButtonMenuIndicator](xref:@ActiproUIRoot.Themes.ControlThemeKind.RadioButtonMenuIndicator) - Used within `MenuItem.Icon` to indicate checked state.
441
+
-[RadioButtonMenuIndicator](xref:@ActiproUIRoot.Themes.ControlThemeKind.RadioButtonMenuIndicator) - (Deprecated) Used within `MenuItem.Icon` to indicate checked state. This theme is no longer necessary since `MenuItem` added built-in support for toggle indicators.
438
442
439
443
#### Slider Type
440
444
@@ -593,10 +597,10 @@ The following default control themes are defined for their respective control ty
0 commit comments