Inheritance: VisualControl, ISeparatorSource
コード例 #1
0
 /// <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;
 }
コード例 #2
0
        /// <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));
        }
コード例 #3
0
        /// <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));
        }
コード例 #4
0
 /// <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;
 }
コード例 #5
0
ファイル: Form1.cs プロジェクト: ComponentFactory/Krypton
 public KryptonSeparatorProxy(KryptonSeparator separator)
 {
     _separator = separator;
 }