Esempio n. 1
0
        protected override void Detach(ResizableBehavior behavior)
        {
            foreach (var handle in HandleCollection)
            {
                handle.Behavior = null;
            }

            base.Detach(behavior);
        }
Esempio n. 2
0
        protected override void Attach(ResizableBehavior behavior)
        {
            base.Attach(behavior);

            foreach (var handle in HandleCollection)
            {
                handle.Behavior = behavior;
            }
        }
Esempio n. 3
0
 void IResizableAdvisor.OnResizeStart(UIElement element, ResizableBehavior resizableBehavior)
 {
     OnResizeStart(element, resizableBehavior);
 }
Esempio n. 4
0
 protected virtual void OnResizeStart(UIElement element, ResizableBehavior resizableBehavior)
 {
 }