Inheritance: System.Windows.Controls.Control
Exemplo n.º 1
0
        public SizeAdorner(UIElement adornedControl)
            : base(adornedControl)
        {
            SnapsToDevicePixels = true;

            m_Chrome             = new SizeChrome();
            m_Chrome.DataContext = adornedControl;
            m_Visuals            = new VisualCollection(this);
            m_Visuals.Add(m_Chrome);
        }
Exemplo n.º 2
0
        public SizeAdorner(UIElement adornedControl)
            : base(adornedControl)
        {
            SnapsToDevicePixels = true;

            m_Chrome = new SizeChrome();
            m_Chrome.DataContext = adornedControl;
            m_Visuals = new VisualCollection(this);
            m_Visuals.Add(m_Chrome);
        }