Stroke.DrawingAttributes 속성

정의

개체의 값을 DrawingAttributesStroke 가져오거나 설정합니다.

public:
 property System::Windows::Ink::DrawingAttributes ^ DrawingAttributes { System::Windows::Ink::DrawingAttributes ^ get(); void set(System::Windows::Ink::DrawingAttributes ^ value); };
public System.Windows.Ink.DrawingAttributes DrawingAttributes { get; set; }
member this.DrawingAttributes : System.Windows.Ink.DrawingAttributes with get, set
Public Property DrawingAttributes As DrawingAttributes

속성 값

예외

설정 값은 .입니다 null.

예제

다음은 스트로크를 DrawingAttributes 녹색으로 설정하는 예제입니다.

// Make the new stroke green.
myNewStroke.DrawingAttributes.Color = Colors.Green;
' Make the new stroke green.
myNewStroke.DrawingAttributes.Color = Colors.Green

설명

색 및 너비와 같은 이러한 특성은 개체가 그려질 때 개체에 Stroke 적용됩니다.

변경 DrawingAttributes 하면 DrawingAttributesChanged 이벤트가 발생합니다.

적용 대상

추가 정보