Class LayerBase
public class LayerBase : DrawingCanvas, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, IDraw- Inheritance
- 
      
      
      
      
      
      
      
      
      
      LayerBase
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
LayerBase()
public LayerBase()Fields
DrawedRoutedEvent
public static readonly RoutedEvent DrawedRoutedEventField Value
TryFreezeProperty
public static readonly DependencyProperty TryFreezePropertyField Value
Properties
DefaultKey
public static ComponentResourceKey DefaultKey { get; }Property Value
TryFreeze
冻结修改属性刷新 需要手动调用刷新 手动调用DrawOnce
public bool TryFreeze { get; set; }Property Value
Methods
ForceDraw()
public virtual void ForceDraw()OnDrawed()
protected void OnDrawed()TryDraw()
public virtual void TryDraw()Events
Drawed
public event RoutedEventHandler Drawed