- traceract_exe.zip
- Clifton.Tools.Debug.dll
- Clifton.Tools.Interop.dll
- Clifton.Tools.Strings.dll
- Clifton.Tools.Xml.dll
- content.myxaml
- MenuIcons.resources
- MyXaml.Core.dll
- MyXaml.DockingManager.dll
- MyXaml.MxMenu.dll
- MyXaml.WinForms.dll
- Traceract.exe
- traceract.myxaml
- UnitTest.dll
- WeifenLuo.WinFormsUI.Docking.dll
- WinFormsUIDockingManager.dll
- traceract_src.zip
- aut
- CVS
- MuteLib
- UnitTest
- UTWinForm
- Clifton.Tools.Compiler
- Clifton.Tools.Debug
- Clifton.Tools.Events
- Clifton.Tools.Interop
- Clifton.Tools.Strings
- Clifton.Tools.Xml
- DockPanelSuite
- CVS
- DockSample
- WinFormsUI.ndoc
- WinFormsUI.sln
- WinFormsUI
- AssemblyInfo.cs
- bin
- Debug
- CodeDoc
- Controls
- CVS
- Entries.Log
- Docking
- Helpers
- obj
- Debug
- temp
- TempPE
- WeifenLuo.WinFormsUI.Docking.dll.incr
- WeifenLuo.WinFormsUI.Strings.resources
- Resources
- CVS
- DockPaneCaption.AutoHideNo.bmp
- DockPaneCaption.AutoHideYes.bmp
- DockPaneCaption.CloseDisabled.bmp
- DockPaneCaption.CloseEnabled.bmp
- DockPaneStrip.CloseDisabled.bmp
- DockPaneStrip.CloseEnabled.bmp
- DockPaneStrip.ScrollLeftDisabled.bmp
- DockPaneStrip.ScrollLeftEnabled.bmp
- DockPaneStrip.ScrollRightDisabled.bmp
- DockPaneStrip.ScrollRightEnabled.bmp
- Strings.ResX
- Win32
- WinFormsUI.csproj
- InfragisticsDockingManager
- Myxaml 2.0
- CVS
- MyXaml.Core
- MyXaml.DockingManager
- MyXaml.MxMenu
- MyXaml.MxWorkflow
- MyXaml.WinForms
- Traceract
- WinFormsUIDockingManager
|
// *****************************************************************************
//
// Copyright 2004, Weifen Luo
// All rights reserved. The software and associated documentation
// supplied hereunder are the proprietary information of Weifen Luo
// and are supplied subject to licence terms.
//
// WinFormsUI Library Version 1.0
// *****************************************************************************
using System;
using System.Drawing;
namespace WeifenLuo.WinFormsUI
{
/// <include file='CodeDoc\NestedDockingStatus.xml' path='//CodeDoc/Class[@name="NestedDockingStatus"]/ClassDef/*'/>
public class NestedDockingStatus
{
internal NestedDockingStatus(DockPane pane)
{
m_dockPane = pane;
}
private DockPane m_dockPane = null;
/// <include file='CodeDoc\NestedDockingStatus.xml' path='//CodeDoc/Class[@name="NestedDockingStatus"]/Property[@name="DockPane"]/*'/>
public DockPane DockPane
{
get { return m_dockPane; }
}
private DockList m_dockList = null;
/// <include file='CodeDoc\NestedDockingStatus.xml' path='//CodeDoc/Class[@name="NestedDockingStatus"]/Property[@name="DockList"]/*'/>
public DockList DockList
{
get { return m_dockList; }
}
private DockPane m_prevPane = null;
/// <include file='CodeDoc\NestedDockingStatus.xml' path='//CodeDoc/Class[@name="NestedDockingStatus"]/Property[@name="PrevPane"]/*'/>
public DockPane PrevPane
{
get { return m_prevPane; }
}
private DockAlignment m_alignment = DockAlignment.Left;
/// <include file='CodeDoc\NestedDockingStatus.xml' path='//CodeDoc/Class[@name="NestedDockingStatus"]/Property[@name="Alignment"]/*'/>
public DockAlignment Alignment
{
get { return m_alignment; }
}
private double m_proportion = 0.5;
/// <include file='CodeDoc\NestedDockingStatus.xml' path='//CodeDoc/Class[@name="NestedDockingStatus"]/Property[@name="Proportion"]/*'/>
public double Proportion
{
get { return m_proportion; }
}
private bool m_isDisplaying = false;
/// <include file='CodeDoc\NestedDockingStatus.xml' path='//CodeDoc/Class[@name="NestedDockingStatus"]/Property[@name="IsDisplaying"]/*'/>
public bool IsDisplaying
{
get { return m_isDisplaying; }
}
private DockPane m_displayingPrevPane = null;
/// <include file='CodeDoc\NestedDockingStatus.xml' path='//CodeDoc/Class[@name="NestedDockingStatus"]/Property[@name="DisplayingPrevPane"]/*'/>
public DockPane DisplayingPrevPane
{
get { return m_displayingPrevPane; }
}
private DockAlignment m_displayingAlignment = DockAlignment.Left;
/// <include file='CodeDoc\NestedDockingStatus.xml' path='//CodeDoc/Class[@name="NestedDockingStatus"]/Property[@name="DisplayingAlignment"]/*'/>
public DockAlignment DisplayingAlignment
{
get { return m_displayingAlignment; }
}
private double m_displayingProportion = 0.5;
/// <include file='CodeDoc\NestedDockingStatus.xml' path='//CodeDoc/Class[@name="NestedDockingStatus"]/Property[@name="DisplayingProportion"]/*'/>
public double DisplayingProportion
{
get { return m_displayingProportion; }
}
private Rectangle m_logicalBounds = Rectangle.Empty;
/// <include file='CodeDoc\NestedDockingStatus.xml' path='//CodeDoc/Class[@name="NestedDockingStatus"]/Property[@name="LogicalBounds"]/*'/>
public Rectangle LogicalBounds
{
get { return m_logicalBounds; }
}
private Rectangle m_paneBounds = Rectangle.Empty;
/// <include file='CodeDoc\NestedDockingStatus.xml' path='//CodeDoc/Class[@name="NestedDockingStatus"]/Property[@name="PaneBounds"]/*'/>
public Rectangle PaneBounds
{
get { return m_paneBounds; }
}
private Rectangle m_splitterBounds = Rectangle.Empty;
/// <include file='CodeDoc\NestedDockingStatus.xml' path='//CodeDoc/Class[@name="NestedDockingStatus"]/Property[@name="SplitterBounds"]/*'/>
public Rectangle SplitterBounds
{
get { return m_splitterBounds; }
}
internal void SetStatus(DockList list, DockPane prevPane, DockAlignment alignment, double proportion)
{
m_dockList = list;
m_prevPane = prevPane;
m_alignment = alignment;
m_proportion = proportion;
}
internal void SetDisplayingStatus(bool isDisplaying, DockPane displayingPrevPane, DockAlignment displayingAlignment, double displayingProportion)
{
m_isDisplaying = isDisplaying;
m_displayingPrevPane = displayingPrevPane;
m_displayingAlignment = displayingAlignment;
m_displayingProportion = displayingProportion;
}
internal void SetDisplayingBounds(Rectangle logicalBounds, Rectangle paneBounds, Rectangle splitterBounds)
{
m_logicalBounds = logicalBounds;
m_paneBounds = paneBounds;
m_splitterBounds = splitterBounds;
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here