//------------------------------------------------------------------- // // Constructors // //------------------------------------------------------------------- #region Constructors /// <summary> /// Default constructor /// </summary> public OverlayRenderDecorator() : base() { _overlayVisual = new OverlayRenderDecoratorOverlayVisual(); _vc = new VisualCollection(this); //insert the overlay element into the visual tree _vc.Add(_overlayVisual); }
//------------------------------------------------------------------- // // Constructors // //------------------------------------------------------------------- #region Constructors /// <summary> /// Default constructor /// </summary> public OverlayRenderDecorator() : base() { _overlayVisual = new OverlayRenderDecoratorOverlayVisual(); _vc = new VisualCollection(this); //insert the overlay element into the visual tree _vc.Add(_overlayVisual); }