Stroke.DrawingAttributes Propriedade
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Obtém ou define o DrawingAttributes para o Stroke objeto.
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
Valor de Propriedade
Exceções
O valor do conjunto é null.
Exemplos
O exemplo seguinte faz com que DrawingAttributes um traço fique verde.
// Make the new stroke green.
myNewStroke.DrawingAttributes.Color = Colors.Green;
' Make the new stroke green.
myNewStroke.DrawingAttributes.Color = Colors.Green
Observações
Estes atributos, como cor e largura, são aplicados ao Stroke objeto à medida que este é desenhado.
Mudar DrawingAttributes faz com que o DrawingAttributesChanged evento dispare.