#region 程序集 System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Windows.Forms.dll
#endregion using System.ComponentModel;
using System.Drawing;
using System.Runtime.InteropServices; namespace System.Windows.Forms
{
//
// 摘要:
// 表示一个由可移动条组成的控件,该可移动条将容器的显示区域分成两个大小可调的面板。
[ClassInterface(ClassInterfaceType.AutoDispatch)]
[ComVisible(true)]
[DefaultEvent("SplitterMoved")]
[Designer("System.Windows.Forms.Design.SplitContainerDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[Docking(DockingBehavior.AutoDock)]
[SRDescriptionAttribute("DescriptionSplitContainer")]
public class SplitContainer : ContainerControl, ISupportInitialize
{
//
// 摘要:
// 初始化 System.Windows.Forms.SplitContainer 类的新实例。
public SplitContainer(); //
// 摘要:
// 当在派生类中重写时,获取或设置一个值,该值指示当控件放置在 System.Windows.Forms.SplitContainer 工作区之外时,是否自动显示滚动条。此属性与此类无关。
//
// 返回结果:
// 如果控件放置在 System.Windows.Forms.SplitContainer 工作区之外时自动显示滚动条,则为 true;否则为 false。默认值为
// false。
[Browsable(false)]
[DefaultValue(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Localizable(true)]
[SRCategoryAttribute("CatLayout")]
[SRDescriptionAttribute("FormAutoScrollDescr")]
public override bool AutoScroll { get; set; }
//
// 摘要:
// 获取或设置自动滚动边距的大小。此属性与此类无关。此属性与此类无关。
//
// 返回结果:
// 一个 System.Drawing.Size 值,它表示自动滚动边距的高度和宽度(以像素为单位)。
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[EditorBrowsable(EditorBrowsableState.Never)]
public Size AutoScrollMargin { get; set; }
//
// 摘要:
// 获取或设置滚动条的最小尺寸。此属性与此类无关。
//
// 返回结果:
// System.Drawing.Size,它表示滚动条的最小高度和宽度(以像素为单位)。
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[EditorBrowsable(EditorBrowsableState.Never)]
public Size AutoScrollMinSize { get; set; }
//
// 摘要:
// 此属性与此类无关。
//
// 返回结果:
// System.Drawing.Point 值。
[Browsable(false)]
[DefaultValue(typeof(Point), "0, 0")]
[EditorBrowsable(EditorBrowsableState.Never)]
public override Point AutoScrollOffset { get; set; }
//
// 摘要:
// 此属性与此类无关。
//
// 返回结果:
// System.Drawing.Point 值。
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[EditorBrowsable(EditorBrowsableState.Never)]
[SRCategoryAttribute("CatLayout")]
[SRDescriptionAttribute("FormAutoScrollPositionDescr")]
public Point AutoScrollPosition { get; set; }
//
// 摘要:
// 获取或设置一个值,该值指示是否自动调整 System.Windows.Forms.SplitContainer 的大小以完整显示其内容。此属性与此类无关。
//
// 返回结果:
// 如果自动调整 System.Windows.Forms.SplitContainer 的大小,则为 true;否则为 false。
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[EditorBrowsable(EditorBrowsableState.Never)]
public override bool AutoSize { get; set; }
//
// 摘要:
// 获取或设置在控件中显示的背景图像。
//
// 返回结果:
// 一个 System.Drawing.Image,它表示在控件的背景中显示的图像。
[Browsable(true)]
[EditorBrowsable(EditorBrowsableState.Always)]
public override Image BackgroundImage { get; set; }
//
// 摘要:
// 此属性与此类无关。
//
// 返回结果:
// 一个 System.Windows.Forms.ImageLayout 值。
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public override ImageLayout BackgroundImageLayout { get; set; }
//
// 摘要:
// 获取或设置 System.Windows.Forms.SplitContainer 的 System.Windows.Forms.BindingContext。
//
// 返回结果:
// 控件的 System.Windows.Forms.BindingContext。
[Browsable(false)]
[SRDescriptionAttribute("ContainerControlBindingContextDescr")]
public override BindingContext BindingContext { get; set; }
//
// 摘要:
// 获取或设置 System.Windows.Forms.SplitContainer 的边框样式。
//
// 返回结果:
// System.Windows.Forms.BorderStyle 值之一。默认值为 System.Windows.Forms.BorderStyle.Fixed3D。
//
// 异常:
// T:System.ComponentModel.InvalidEnumArgumentException:
// 该属性的值并非 System.Windows.Forms.BorderStyle 值之一。
[DefaultValue(BorderStyle.None)]
[DispId(-)]
[SRCategoryAttribute("CatAppearance")]
[SRDescriptionAttribute("SplitterBorderStyleDescr")]
public BorderStyle BorderStyle { get; set; }
//
// 摘要:
// 获取子控件的集合。此属性与此类无关。
//
// 返回结果:
// 包含子控件的 System.Windows.Forms.Control.ControlCollection 类型的对象。
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[EditorBrowsable(EditorBrowsableState.Never)]
public ControlCollection Controls { get; }
//
// 摘要:
// 获取或设置附加到容器边缘的 System.Windows.Forms.SplitContainer 边框。
//
// 返回结果:
// System.Windows.Forms.DockStyle 值之一。默认值为 None。
public DockStyle Dock { get; set; }
//
// 摘要:
// 获取或设置在调整容器大小时将大小保持不变的 System.Windows.Forms.SplitContainer 面板。
//
// 返回结果:
// System.Windows.Forms.FixedPanel 值之一。默认值为 None。
//
// 异常:
// T:System.ComponentModel.InvalidEnumArgumentException:
// 分配的值不是 System.Windows.Forms.FixedPanel 值之一。
[DefaultValue(FixedPanel.None)]
[SRCategoryAttribute("CatLayout")]
[SRDescriptionAttribute("SplitContainerFixedPanelDescr")]
public FixedPanel FixedPanel { get; set; }
//
// 摘要:
// 获取或设置一个值,用以指示拆分器是固定的还是可移动的。
//
// 返回结果:
// 如果拆分器是固定的,则为 true;否则为 false。默认值为 false。
[DefaultValue(false)]
[Localizable(true)]
[SRCategoryAttribute("CatLayout")]
[SRDescriptionAttribute("SplitContainerIsSplitterFixedDescr")]
public bool IsSplitterFixed { get; set; }
//
// 摘要:
// 获取或设置一个值,该值指示 System.Windows.Forms.SplitContainer 面板处于水平方向还是垂直方向。
//
// 返回结果:
// System.Windows.Forms.Orientation 值之一。默认值为 Vertical。
//
// 异常:
// T:System.ComponentModel.InvalidEnumArgumentException:
// 分配的值不是 System.Windows.Forms.Orientation 值之一。
[DefaultValue(Orientation.Vertical)]
[Localizable(true)]
[SRCategoryAttribute("CatBehavior")]
[SRDescriptionAttribute("SplitContainerOrientationDescr")]
public Orientation Orientation { get; set; }
//
// 摘要:
// 获取或设置 System.Windows.Forms.SplitterPanel 的边缘与其内容之间的内部间距(以像素为单位)。此属性与此类无关。
//
// 返回结果:
// System.Windows.Forms.Padding 类型的一个对象,它表示内部间距。
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[EditorBrowsable(EditorBrowsableState.Never)]
public Padding Padding { get; set; }
//
// 摘要:
// 获取 System.Windows.Forms.SplitContainer 的左侧面板或上部面板(根据 System.Windows.Forms.SplitContainer.Orientation
// 而定)。
//
// 返回结果:
// 如果 System.Windows.Forms.SplitContainer.Orientation 为 Vertical,则获取 System.Windows.Forms.SplitContainer
// 的左侧面板。如果 System.Windows.Forms.SplitContainer.Orientation 为 Horizontal,则获取 System.Windows.Forms.SplitContainer
// 的上部面板。
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[Localizable(false)]
[SRCategoryAttribute("CatAppearance")]
[SRDescriptionAttribute("SplitContainerPanel1Descr")]
public SplitterPanel Panel1 { get; }
//
// 摘要:
// 获取或设置一个值,该值确定 System.Windows.Forms.SplitContainer.Panel1 是折叠的还是展开的。
//
// 返回结果:
// 如果折叠了 System.Windows.Forms.SplitContainer.Panel1,则为 true;否则为 false。默认值为 false。
[DefaultValue(false)]
[SRCategoryAttribute("CatLayout")]
[SRDescriptionAttribute("SplitContainerPanel1CollapsedDescr")]
public bool Panel1Collapsed { get; set; }
//
// 摘要:
// 获取或设置拆分器与 System.Windows.Forms.SplitContainer.Panel1 的左边缘或上边缘的最小距离(以像素为单位)。
//
// 返回结果:
// System.Int32,它表示拆分器离 System.Windows.Forms.SplitContainer.Panel1 的左边缘或上边缘的最小距离(以像素为单位)。不管
// System.Windows.Forms.SplitContainer.Orientation 为何值,默认值均为 25 像素。
//
// 异常:
// T:System.ArgumentOutOfRangeException:
// 指定的值与方向不一致。
[DefaultValue()]
[Localizable(true)]
[RefreshProperties(RefreshProperties.All)]
[SRCategoryAttribute("CatLayout")]
[SRDescriptionAttribute("SplitContainerPanel1MinSizeDescr")]
public int Panel1MinSize { get; set; }
//
// 摘要:
// 获取 System.Windows.Forms.SplitContainer 的右侧面板或下部面板(根据 System.Windows.Forms.SplitContainer.Orientation
// 而定)。
//
// 返回结果:
// 如果 System.Windows.Forms.SplitContainer.Orientation 为 Vertical,则获取 System.Windows.Forms.SplitContainer
// 的右侧面板。如果 System.Windows.Forms.SplitContainer.Orientation 为 Horizontal,则获取 System.Windows.Forms.SplitContainer
// 的下部面板。
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[Localizable(false)]
[SRCategoryAttribute("CatAppearance")]
[SRDescriptionAttribute("SplitContainerPanel2Descr")]
public SplitterPanel Panel2 { get; }
//
// 摘要:
// 获取或设置一个值,该值确定 System.Windows.Forms.SplitContainer.Panel2 是折叠的还是展开的。
//
// 返回结果:
// 如果折叠了 System.Windows.Forms.SplitContainer.Panel2,则为 true;否则为 false。默认值为 false。
[DefaultValue(false)]
[SRCategoryAttribute("CatLayout")]
[SRDescriptionAttribute("SplitContainerPanel2CollapsedDescr")]
public bool Panel2Collapsed { get; set; }
//
// 摘要:
// 获取或设置拆分器离 System.Windows.Forms.SplitContainer.Panel2 的右边缘或下边缘的最小距离(以像素为单位)。
//
// 返回结果:
// System.Int32,它表示拆分器离 System.Windows.Forms.SplitContainer.Panel2 的右边缘或下边缘的最小距离(以像素为单位)。不管
// System.Windows.Forms.SplitContainer.Orientation 为何值,默认值均为 25 像素。
//
// 异常:
// T:System.ArgumentOutOfRangeException:
// 指定的值与方向不一致。
[DefaultValue()]
[Localizable(true)]
[RefreshProperties(RefreshProperties.All)]
[SRCategoryAttribute("CatLayout")]
[SRDescriptionAttribute("SplitContainerPanel2MinSizeDescr")]
public int Panel2MinSize { get; set; }
//
// 摘要:
// 获取或设置拆分器离 System.Windows.Forms.SplitContainer 的左边缘或上边缘的位置(以像素为单位)。
//
// 返回结果:
// System.Int32,它表示拆分器离 System.Windows.Forms.SplitContainer 的左边缘或上边缘的位置(以像素为单位)。默认值为
// 50 像素。
//
// 异常:
// T:System.ArgumentOutOfRangeException:
// 值小于零。
//
// T:System.InvalidOperationException:
// 该值与方向不一致。
[DefaultValue()]
[Localizable(true)]
[SettingsBindable(true)]
[SRCategoryAttribute("CatLayout")]
[SRDescriptionAttribute("SplitContainerSplitterDistanceDescr")]
public int SplitterDistance { get; set; }
//
// 摘要:
// 获取或设置一个值,该值表示拆分器移动的增量(以像素为单位)。
//
// 返回结果:
// System.Int32,它表示拆分器移动的增量(以像素为单位)。默认值是一个像素。
//
// 异常:
// T:System.ArgumentOutOfRangeException:
// 值小于 1。
[DefaultValue()]
[Localizable(true)]
[SRCategoryAttribute("CatLayout")]
[SRDescriptionAttribute("SplitContainerSplitterIncrementDescr")]
public int SplitterIncrement { get; set; }
//
// 摘要:
// 获取拆分器相对于 System.Windows.Forms.SplitContainer 的大小和位置。
//
// 返回结果:
// System.Drawing.Rectangle,它指定拆分器相对于 System.Windows.Forms.SplitContainer 的大小和位置。
[Browsable(false)]
[SRCategoryAttribute("CatLayout")]
[SRDescriptionAttribute("SplitContainerSplitterRectangleDescr")]
public Rectangle SplitterRectangle { get; }
//
// 摘要:
// 获取或设置拆分器的宽度(以像素为单位)。
//
// 返回结果:
// System.Int32,它表示拆分器的宽度(以像素为单位)。默认值为四个像素。
//
// 异常:
// T:System.ArgumentOutOfRangeException:
// 该值小于 1 或与方向不一致。
[DefaultValue()]
[Localizable(true)]
[SRCategoryAttribute("CatLayout")]
[SRDescriptionAttribute("SplitContainerSplitterWidthDescr")]
public int SplitterWidth { get; set; }
//
// 摘要:
// 获取或设置一个值,该值指示用户能否使用 Tab 键将焦点置于该拆分器上。
//
// 返回结果:
// 如果用户可以用 Tab 键将焦点置于该拆分器上,则为 true;否则为 false。默认值为 true。
[DefaultValue(true)]
[DispId(-)]
[SRCategoryAttribute("CatBehavior")]
[SRDescriptionAttribute("ControlTabStopDescr")]
public bool TabStop { get; set; }
//
// 摘要:
// 此属性与此类无关。
//
// 返回结果:
// 一个字符串。
[Bindable(false)]
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public override string Text { get; set; }
//
// 摘要:
// 获取 System.Windows.Forms.SplitContainer 的默认大小。
//
// 返回结果:
// System.Drawing.Size,它表示 System.Windows.Forms.SplitContainer 的大小。
protected override Size DefaultSize { get; } //
// 摘要:
// 当 System.Windows.Forms.SplitContainer.AutoSize 属性的值更改时发生。此属性与此类无关。
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public event EventHandler AutoSizeChanged;
//
// 摘要:
// 当 System.Windows.Forms.SplitContainer.BackgroundImage 属性更改时发生。
[Browsable(true)]
[EditorBrowsable(EditorBrowsableState.Always)]
public event EventHandler BackgroundImageChanged;
//
// 摘要:
// 当 System.Windows.Forms.SplitContainer.BackgroundImageLayout 属性更改时发生。此事件与该类无关。
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public event EventHandler BackgroundImageLayoutChanged;
//
// 摘要:
// 此事件与此类无关。
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public event ControlEventHandler ControlAdded;
//
// 摘要:
// 此事件与此类无关。
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public event ControlEventHandler ControlRemoved;
//
// 摘要:
// 此事件与此类无关。
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public event EventHandler PaddingChanged;
//
// 摘要:
// 当移动拆分器控件时发生。
[SRCategoryAttribute("CatBehavior")]
[SRDescriptionAttribute("SplitterSplitterMovedDescr")]
public event SplitterEventHandler SplitterMoved;
//
// 摘要:
// 当拆分器控件正处在移动过程中发生。
[SRCategoryAttribute("CatBehavior")]
[SRDescriptionAttribute("SplitterSplitterMovingDescr")]
public event SplitterCancelEventHandler SplitterMoving;
//
// 摘要:
// 此事件与此类无关。
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public event EventHandler TextChanged; public void BeginInit();
public void EndInit();
//
// 摘要:
// 引发 System.Windows.Forms.SplitContainer.SplitterMoved 事件。
//
// 参数:
// e:
// 包含事件数据的 System.Windows.Forms.SplitterEventArgs。
public void OnSplitterMoved(SplitterEventArgs e);
//
// 摘要:
// 引发 System.Windows.Forms.SplitContainer.SplitterMoving 事件。
//
// 参数:
// e:
// 包含事件数据的 System.Windows.Forms.SplitterEventArgs。
public void OnSplitterMoving(SplitterCancelEventArgs e);
//
// 摘要:
// 为控件创建控件集合的新实例。
//
// 返回结果:
// 分配给控件的 System.Windows.Forms.Control.ControlCollection 的新实例。
[EditorBrowsable(EditorBrowsableState.Advanced)]
protected override ControlCollection CreateControlsInstance();
//
// 摘要:
// 引发 System.Windows.Forms.Control.GotFocus 事件。
//
// 参数:
// e:
// 包含事件数据的 System.EventArgs。
protected override void OnGotFocus(EventArgs e);
//
// 摘要:
// 引发 System.Windows.Forms.Control.KeyDown 事件。
//
// 参数:
// e:
// 包含事件数据的 System.Windows.Forms.KeyEventArgs。
protected override void OnKeyDown(KeyEventArgs e);
//
// 摘要:
// 引发 System.Windows.Forms.Control.KeyUp 事件。
//
// 参数:
// e:
// 包含事件数据的 System.Windows.Forms.KeyEventArgs。
protected override void OnKeyUp(KeyEventArgs e);
//
// 摘要:
// 引发 System.Windows.Forms.Control.Layout 事件。
//
// 参数:
// e:
// 包含事件数据的 System.Windows.Forms.LayoutEventArgs。
protected override void OnLayout(LayoutEventArgs e);
//
// 摘要:
// 引发 System.Windows.Forms.Control.LostFocus 事件。
//
// 参数:
// e:
// 包含事件数据的 System.EventArgs。
protected override void OnLostFocus(EventArgs e);
//
// 参数:
// e:
// 包含事件数据的 System.EventArgs。
protected override void OnMouseCaptureChanged(EventArgs e);
//
// 摘要:
// 引发 System.Windows.Forms.Control.MouseDown 事件。
//
// 参数:
// e:
// 包含事件数据的 System.Windows.Forms.MouseEventArgs。
protected override void OnMouseDown(MouseEventArgs e);
//
// 摘要:
// 引发 System.Windows.Forms.Control.MouseLeave 事件。
//
// 参数:
// e:
// 包含事件数据的 System.EventArgs。
protected override void OnMouseLeave(EventArgs e);
//
// 摘要:
// 引发 System.Windows.Forms.Control.MouseMove 事件。
//
// 参数:
// e:
// 包含事件数据的 System.Windows.Forms.MouseEventArgs。
[EditorBrowsable(EditorBrowsableState.Advanced)]
protected override void OnMouseMove(MouseEventArgs e);
//
// 摘要:
// 引发 System.Windows.Forms.Control.MouseUp 事件。
//
// 参数:
// e:
// 包含事件数据的 System.Windows.Forms.MouseEventArgs。
protected override void OnMouseUp(MouseEventArgs e);
//
// 摘要:
// 引发 System.Windows.Forms.Control.Move 事件。
//
// 参数:
// e:
// 事件的相关数据。
protected override void OnMove(EventArgs e);
//
// 摘要:
// 引发 System.Windows.Forms.Control.Paint 事件。
//
// 参数:
// e:
// 包含事件数据的 System.Windows.Forms.PaintEventArgs。
protected override void OnPaint(PaintEventArgs e);
[EditorBrowsable(EditorBrowsableState.Advanced)]
protected override void OnRightToLeftChanged(EventArgs e);
//
// 摘要:
// 处理对话框键。
//
// 参数:
// keyData:
// System.Windows.Forms.Keys 值之一,它表示要处理的键。
//
// 返回结果:
// 如果键已由控件处理,则为 true;否则为 false。
protected override bool ProcessDialogKey(Keys keyData);
//
// 摘要:
// 选择下一个可用控件并使其成为活动控件。
//
// 参数:
// forward:
// 如果在 System.Windows.Forms.ContainerControl 内的控件中向前循环,则为 true;否则为 false。
//
// 返回结果:
// 如果选定了一个控件,则为 true;否则为 false。
protected override bool ProcessTabKey(bool forward);
[EditorBrowsable(EditorBrowsableState.Advanced)]
protected override void ScaleControl(SizeF factor, BoundsSpecified specified);
protected override void Select(bool directed, bool forward);
//
// 参数:
// x:
// 控件的新 System.Windows.Forms.Control.Left 属性值。
//
// y:
// 控件的新 System.Windows.Forms.Control.Top 属性值。
//
// width:
// 控件的新 System.Windows.Forms.Control.Width 属性值。
//
// height:
// 控件的新 System.Windows.Forms.Control.Height 属性值。
//
// specified:
// System.Windows.Forms.BoundsSpecified 值的按位组合。
protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified);
//
// 摘要:
// 处理 Windows 消息。
//
// 参数:
// msg:
// 要处理的 WindowsSystem.Windows.Forms.Message。
protected override void WndProc(ref Message msg);
}
}

最新文章

  1. Qt 之 数字钟
  2. 性能分析神器VisualVM
  3. #笔记# 移动前端开发之viewport
  4. 33 网络相关函数(一)——live555源码阅读(四)网络
  5. ADF_Database Develop系列2_设计数据库表之Table Partitions/Create Users/Generate DDL
  6. 使用go的ssh包快速打造一个本地命令行ssh客户端
  7. 静态代码检查工具-PMD初学者入门篇
  8. ubuntu12.04_命令
  9. visio画UML用例图没有include关系的解决方法
  10. Java__jar包的简单操作
  11. [原创].NET 分布式架构开发实战之二 草稿设计
  12. css中元素水平垂直居中4种方法介绍
  13. 史上最全的synchronized解释
  14. 美团点评DBProxy读写分离使用说明
  15. 通过tokenPlease()函数获取accessToken
  16. (六十五)iOS的socket实现(GCDAsyncSocket)
  17. 【P2015】二叉苹果树 (树形DP分组背包)
  18. React十进制和二进制转换的实现和分析
  19. 关于std::thread
  20. 搭建JMETER+ANT自动化接口测试环境步骤(一)

热门文章

  1. SPOJ6717 Two Paths 树形dp
  2. [BJOI2010]次小生成树
  3. LAMP架构之NFS
  4. 如何使用 sqlite3 访问 Android 手机的数据库
  5. QN-H618 遥控器复制再生仪(拷贝机)
  6. [MSDN] Windows Server 2012 R2 简/繁/英下载
  7. 第一次ACM赛后总结及感悟
  8. 创建新的Cocos2dx 3.0项目并解决一些编译问题
  9. C++中二维数组的动态分配
  10. 阿里云96页报告详解《云上转型》(10个案例、10大趋势/完整版PPT)