इसके माध्यम से साझा किया गया


Glyphs.Fill Property

Definition

Gets or sets the Brush that is used to render the glyphs.

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

void Fill(Brush value);
public Brush Fill { get; set; }
var brush = glyphs.fill;
glyphs.fill = brush;
Public Property Fill As Brush
<Glyphs Fill="{StaticResource resourceName"/>
- or -
<Glyphs Fill="colorString"/>
- or -
<Glyphs>
  <Glyphs.Fill>singleBrush</Glyphs.Fill>
</Glyphs>

Property Value

The brush to use to render the glyphs. The default is null, which is evaluated as Transparent for rendering.

Remarks

Because the default is null, you almost always should define a value for Fill somehow if you want your Glyphs to render in UI.

Applies to

See also