共用方式為


SpriteVisual.Brush 屬性

定義

public:
 property CompositionBrush ^ Brush { CompositionBrush ^ get(); void set(CompositionBrush ^ value); };
CompositionBrush Brush();

void Brush(CompositionBrush value);
public CompositionBrush Brush { get; set; }
var compositionBrush = spriteVisual.brush;
spriteVisual.brush = compositionBrush;
Public Property Brush As CompositionBrush

屬性值

CompositionBrush,描述如何繪製 SpriteVisual

適用於