LeadingIcon
Class in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll
An icon at the left inside one input (a ComboBox or a TextBox), like the magnifier of SearchBox and with the look of the login’s icons (theme class fieldIcon): <ui:LeadingIcon Icon="{StaticResource Icon.squareA}"><ComboBox /></ui:LeadingIcon>. The theme gives the input room for the icon (ui|LeadingIcon > ComboBox, ui|LeadingIcon > TextBox); the icon stays level with the input when a validation error shows below it. Decoration only: it takes no clicks. Without an icon the input keeps its usual padding (pseudo-class :noIcon). The theme classes found (a green check: the value is what a check found) and changed (a warning triangle: the user picked another one) set the icon.
public sealed class LeadingIcon : PanelInherits Panel
XAML properties
Section titled “XAML properties”Set them in XAML (<ui:LeadingIcon Name="..." />) or bind them.
| Name | Type | Description |
|---|---|---|
Icon |
Geometry? |
The icon ({StaticResource Icon.…} or {DynamicResource Icon.…}). |