Stroke.DrawingAttributes 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
개체의 값을 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 이벤트가 발생합니다.