Overview
The Actipro Shared Library is a common control library referenced by all of our Avalonia controls. It contains a number of very useful controls and components that can be used in your projects.
A collection of sample controls from the Shared Library
Tip
The Actipro Shared Library is a free product! See our Licensing topic for more details.
Features
General Controls
- An AnimatedExpanderDecorator that expands and contracts content using animation.
- A ChromedTitleBar that renders a title bar with optional content areas on the left, center, and right.
- A CopyButton that, when invoked, copies specified text to the clipboard.
- A DynamicImage that is a drop-in replacement for
Image
and the primary UI mechanism for interfacing with ImageProvider and its features, supporting grayscale, monochrome, and chromatic adaptation if image sources. - A HyperlinkTextBlock that is a
TextBlock
implementation which renders like a hyperlink and behaves like aButton
. - A MeasureAdjuster decorator that can measure as zero size or round the measurement of its child content to integer values, thereby helping to ensure elements are arranged as desired and without sitting on a pixel boundary.
- A MeshGradientPresenter that renders a mesh gradient background.
- A ScrollableOverflowPresenter control displays scroll buttons when its content overflows the available space.
- A ShadowChrome decorator that renders a drop shadow around its child control.
- A ToggleThemeButton that, when invoked, toggles a
RequestedThemeVariant
property value betweenThemeVariant.Light
andThemeVariant.Dark
. - A WindowResizeGrip that can be placed in the lower-right corner of a
Window
or its status bar, providing a larger area to drag-resize theWindow
both horizontally and vertically.
Shapes
- A RingSlice shape that renders a portion (or the entire circle) of a ring shape.
Media
- The UIColor structure provides an enhanced representation of a color that supports the RGB, HSL, and HSV color models, conversion between models, and numerous other helper methods. Static methods on the structure are used to create instances of the structure based on the supported models.
Extension Methods
- Various extension methods are provided for several Avalonia types.
Value Converters
- Multiple value converters classes for doing everything from conditional (if...else) results to string formatting to mathematical expressions.