Inheritance: VisualControl, ISeparatorSource
 /// <summary>
 /// Initialize a new instance of the DockspaceSeparatorResizeEventArgs class.
 /// </summary>
 /// <param name="separator">Reference to separator control instance.</param>
 /// <param name="element">Reference to dockspace docking element that is managing the separator.</param>
 /// <param name="resizeRect">Initial resizing rectangle.</param>
 public DockspaceSeparatorResizeEventArgs(KryptonSeparator separator,
                                          KryptonDockingDockspace element,
                                          Rectangle resizeRect)
     : base(separator, element)
 {
     _resizeRect = resizeRect;
 }
        /// <summary>
        /// Initialize a new instance of the KryptonSeparatorActionList class.
        /// </summary>
        /// <param name="owner">Designer that owns this action list instance.</param>
        public KryptonSeparatorActionList(KryptonSeparatorDesigner owner)
            : base(owner.Component)
        {
            // Remember the link label instance
            _separator = owner.Component as KryptonSeparator;

            // Cache service used to notify when a property has changed
            _service = (IComponentChangeService)GetService(typeof(IComponentChangeService));
        }
        /// <summary>
        /// Initialize a new instance of the KryptonSeparatorActionList class.
        /// </summary>
        /// <param name="owner">Designer that owns this action list instance.</param>
        public KryptonSeparatorActionList(KryptonSeparatorDesigner owner)
            : base(owner.Component)
        {
            // Remember the link label instance
            _separator = owner.Component as KryptonSeparator;

            // Cache service used to notify when a property has changed
            _service = (IComponentChangeService)GetService(typeof(IComponentChangeService));
        }
 /// <summary>
 /// Initialize a new instance of the AutoHiddenSeparatorResizeEventArgs class.
 /// </summary>
 /// <param name="separator">Reference to separator control instance.</param>
 /// <param name="dockspace">Reference to dockspace control instance.</param>
 /// <param name="page">Reference to page contained in the dockspace.</param>
 /// <param name="resizeRect">Initial resizing rectangle.</param>
 public AutoHiddenSeparatorResizeEventArgs(KryptonSeparator separator,
                                           KryptonDockspace dockspace,
                                           KryptonPage page,
                                           Rectangle resizeRect)
 {
     _separator = separator;
     _dockspace = dockspace;
     _page = page;
     _resizeRect = resizeRect;
 }
Ejemplo n.º 5
0
 public KryptonSeparatorProxy(KryptonSeparator separator)
 {
     _separator = separator;
 }