TagChipRow
Class in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll
The layout of tags on one line (SDK 0.17.0; the device grid’s Tags column and TagChips): a chip per tag (theme style Border.tagChip: the name in the tag colour on a subtle background) and “+N” (TextBlock.tagMore) for the tags that do not fit the width; the tooltip lists every tag. A subclass hands its chips over with TagChipRow.SetChips.
public class TagChipRow : PanelInherits Panel
Derived TagChips
Properties
Section titled “Properties”MoreText
Section titled “MoreText”string MoreText { get; }The “+N” text at the last arrange, empty when every chip fits (tests).
ShownCount
Section titled “ShownCount”int ShownCount { get; }Chips that fit at the last arrange (tests).
Methods
Section titled “Methods”CreateChip
Section titled “CreateChip”static Border CreateChip(TextBlock text)One chip around text (its text and colour set or bound by the caller).
CreateChip
Section titled “CreateChip”static Border CreateChip(TagChip tag)One chip of a plain tag.
SetChips
Section titled “SetChips”void SetChips(IReadOnlyList<Control> chips, IReadOnlyList<string> names)Protected: for classes that derive from it
Shows chips in this order; names make the tooltip (none: no tooltip).