Detailed Description

Controls use Icon and TextBlock to supply visual content. These types are not widgets and do not appear in the visual hierarchy. Derive custom visual content from Control, not from an icon or text block.

An Icon associates one picture with images at one or more logical sizes. A control requests the image that fits the area it is about to display. Add images directly for the usual case. Implement IconProvider only when images must come from another source.

A TextBlock converts a string into positioned TextLine objects. Controls such as Label use it to lay out text. A custom control configures the available width and alignment, calls TextBlock::layout(), and uses the resulting lines when it measures or paints wrapped text.

Classes

class  IconProvider
 Provides images for Icon objects. More...
 
class  Icon
 Represents an image at one or more logical sizes. More...
 
class  TextLine
 Represents one laid-out line in a TextBlock. More...
 
class  TextBlock
 Represents wrapped text as positioned lines. More...