Udostępnij za pośrednictwem


BrushDescriptor Class

Definition

BrushDescriptor class holds the BrushStyleSetInfo for a class and an instance of the Brush described by that info (if it's already been created). The BrushDescriptor is what gets cached for later use.

public ref class BrushDescriptor
public class BrushDescriptor
type BrushDescriptor = class
Public Class BrushDescriptor
Inheritance
BrushDescriptor

Constructors

BrushDescriptor(BrushStyleSetInfo)

Constructor that creates a descriptor based on a specified BrushStyleSetInfo.

Properties

Brush

Gets an instance of the Brush defined by this descriptor. If the brush has not been previously created, it creates it first. This is a singleton. Do not dispose - this will crash! Use immediately.

BrushStyleSetInfo

Gets the brush information for this descriptor.

Applies to