CustomDrawElementCustomDrawEventArgs Class
Provides event arguments for performing custom draw of a CustomDrawElement.
public class CustomDrawElementCustomDrawEventArgs : CustomDrawEventArgs<CustomDrawElement>
- Inheritance:
- object EventArgs RoutedEventArgs CustomDrawEventArgs<CustomDrawElement> object
Constructors
CustomDrawElementCustomDrawEventArgs(RoutedEvent, CustomDrawElement, DrawingContext)
Initializes a new instance of the CustomDrawElementCustomDrawEventArgs
class.
public CustomDrawElementCustomDrawEventArgs(RoutedEvent routedEvent, CustomDrawElement element, DrawingContext drawingContext)
Parameter | Type | Description |
---|---|---|
routedEvent | RoutedEvent | The routed event identifier for this event arguments instance. |
element | CustomDrawElement | The element being drawn. |
drawingContext | DrawingContext | The DrawingContext to use. |