Stroke.DrawingAttributes 속성

정의

DrawingAttributes 개체에 대한 Stroke를 가져오거나 설정합니다.

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 이벤트가 발생 합니다.

적용 대상

추가 정보