콘텐츠로 이동

GlyphElement class

이 콘텐츠는 아직 번역되지 않았습니다.

A lightweight element that displays a GlyphKind shape. Foreground color is inherited from ancestors.

Guide: C# Markup reference: Shape

public sealed class GlyphElement : FrameworkElement
name description
GlyphElement() The default constructor.
Foreground { get; set; } Gets or sets the foreground color, backed by ForegroundProperty so it participates in the same inheritance chain as text-bearing ancestors.
GlyphSize { get; set; } Gets or sets the glyph size in DIPs.
Kind { get; set; } Gets or sets the shape drawn.
StrokeThickness { get; set; } Gets or sets the stroke thickness in DIPs.
ClearForeground() Clears a locally set Foreground, reverting to the inherited value.
static readonly GlyphSizeProperty
static readonly KindProperty
static readonly StrokeThicknessProperty