|
// Type: System.Windows.Forms.UserControl
// Assembly: System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Windows.Forms.dll
using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Drawing;
using System.Runtime;
using System.Runtime.InteropServices;
using System.Security.Permissions;
namespace System.Windows.Forms
{
[DesignerCategory("UserControl")]
[ClassInterface(ClassInterfaceType.AutoDispatch)]
[Designer("System.Windows.Forms.Design.UserControlDocumentDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(IRootDesigner))]
[Designer("System.Windows.Forms.Design.ControlDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[DefaultEvent("Load")]
[ComVisible(true)]
public class UserControl : ContainerControl
{
#region Constructors and Destructors
public UserControl();
#endregion
#region Public Events
[EditorBrowsable(EditorBrowsableState.Always)]
[Browsable(true)]
public new event EventHandler AutoSizeChanged;
[Browsable(true)]
[EditorBrowsable(EditorBrowsableState.Always)]
public new event EventHandler AutoValidateChanged;
public event EventHandler Load;
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public new event EventHandler TextChanged;
#endregion
#region Public Properties
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
[Browsable(true)]
[EditorBrowsable(EditorBrowsableState.Always)]
public override bool AutoSize { get; set; }
[Localizable(true)]
[Browsable(true)]
[DefaultValue(AutoSizeMode.GrowOnly)]
public AutoSizeMode AutoSizeMode { get; set; }
[EditorBrowsable(EditorBrowsableState.Always)]
[Browsable(true)]
public override AutoValidate AutoValidate { get; set; }
[DefaultValue(BorderStyle.None)]
[Browsable(true)]
[EditorBrowsable(EditorBrowsableState.Always)]
public BorderStyle BorderStyle { [TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
[Browsable(false)]
[Bindable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public override string Text { get; set; }
#endregion
#region Properties
protected override CreateParams CreateParams { [SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
get; }
protected override Size DefaultSize { get; }
#endregion
#region Public Methods and Operators
[EditorBrowsable(EditorBrowsableState.Always)]
[Browsable(true)]
public override bool ValidateChildren();
[EditorBrowsable(EditorBrowsableState.Always)]
[Browsable(true)]
public override bool ValidateChildren(ValidationConstraints validationConstraints);
#endregion
#region Methods
[EditorBrowsable(EditorBrowsableState.Advanced)]
protected override void OnCreateControl();
[EditorBrowsable(EditorBrowsableState.Advanced)]
protected virtual void OnLoad(EventArgs e);
[EditorBrowsable(EditorBrowsableState.Advanced)]
protected override void OnMouseDown(MouseEventArgs e);
protected override void OnResize(EventArgs e);
[EditorBrowsable(EditorBrowsableState.Advanced)]
[SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
protected override void WndProc(ref Message m);
#endregion
}
}
|
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 member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.