Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / DesignerRegion.cs / 1 / DesignerRegion.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design { using System; using System.Collections; using System.Collections.Specialized; using System.Drawing; ////// /// Provides the necessary functionality for a region in a designer /// public class DesignerRegion : DesignerObject { ///public static readonly string DesignerRegionAttributeName = "_designerRegion"; private string _displayName; private string _description; private object _userData; private bool _selectable; private bool _selected; private bool _highlight; private bool _ensureSize = false; /// public DesignerRegion(ControlDesigner designer, string name) : this(designer, name, false) { } /// public DesignerRegion(ControlDesigner designer, string name, bool selectable) : base(designer, name) { _selectable = selectable; } /// /// /// public virtual string Description { get { if (_description == null) { return String.Empty; } return _description; } set { _description = value; } } ////// /// public virtual string DisplayName { get { if (_displayName == null) { return String.Empty; } return _displayName; } set { _displayName = value; } } public bool EnsureSize { get { return _ensureSize; } set { _ensureSize = value; } } ///public virtual bool Highlight { get { return _highlight; } set { _highlight = value; } } /// public virtual bool Selectable { get { return _selectable; } set { _selectable = value; } } /// public virtual bool Selected { get { return _selected; } set { _selected = value; } } /// /// /// public object UserData { get { return _userData; } set { _userData = value; } } ///public Rectangle GetBounds() { return Designer.View.GetBounds(this); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InputScopeConverter.cs
- MembershipSection.cs
- HttpHandlersSection.cs
- FigureParagraph.cs
- SmiXetterAccessMap.cs
- CalendarTable.cs
- ThreadExceptionDialog.cs
- DefaultMemberAttribute.cs
- SQLConvert.cs
- SparseMemoryStream.cs
- Roles.cs
- AssemblyBuilder.cs
- ApplicationServiceHelper.cs
- NativeMethods.cs
- MatchAllMessageFilter.cs
- FamilyTypefaceCollection.cs
- TraceContextEventArgs.cs
- Console.cs
- Int32Rect.cs
- MimeFormatter.cs
- DelayedRegex.cs
- InheritedPropertyDescriptor.cs
- HostedTransportConfigurationBase.cs
- VectorValueSerializer.cs
- RuleElement.cs
- ZipIOLocalFileHeader.cs
- ScrollBarRenderer.cs
- HandlerBase.cs
- ProcessInfo.cs
- ColorTranslator.cs
- PermissionRequestEvidence.cs
- diagnosticsswitches.cs
- SafeEventLogReadHandle.cs
- StyleCollection.cs
- Select.cs
- SqlDataAdapter.cs
- XmlDocumentSerializer.cs
- WebPartDisplayModeEventArgs.cs
- Char.cs
- X509ChainPolicy.cs
- ContentElement.cs
- FormClosingEvent.cs
- TextRangeProviderWrapper.cs
- AutoSizeComboBox.cs
- RootBrowserWindowAutomationPeer.cs
- BinaryUtilClasses.cs
- EncryptedKeyHashIdentifierClause.cs
- XmlWriterTraceListener.cs
- MarshalByRefObject.cs
- DataList.cs
- Group.cs
- StandardBindingCollectionElement.cs
- CustomMenuItemCollection.cs
- ColumnCollection.cs
- PrinterResolution.cs
- AstNode.cs
- HtmlUtf8RawTextWriter.cs
- SkipStoryboardToFill.cs
- Types.cs
- RSAPKCS1KeyExchangeFormatter.cs
- Identifier.cs
- AsyncPostBackErrorEventArgs.cs
- TemplateManager.cs
- ZipIOBlockManager.cs
- VerbConverter.cs
- EventLog.cs
- ProvidePropertyAttribute.cs
- HyperlinkAutomationPeer.cs
- XamlSerializerUtil.cs
- CancellationTokenRegistration.cs
- TransportConfigurationTypeElement.cs
- BinaryObjectInfo.cs
- EntityException.cs
- SpStreamWrapper.cs
- ToolboxItemFilterAttribute.cs
- ResXResourceSet.cs
- PropertyRef.cs
- DataGridTextBoxColumn.cs
- autovalidator.cs
- BinaryCommonClasses.cs
- NamespaceQuery.cs
- TimelineGroup.cs
- URLIdentityPermission.cs
- EngineSite.cs
- followingquery.cs
- ProcessInfo.cs
- ToolStripRenderer.cs
- LinqDataSourceValidationException.cs
- Certificate.cs
- TextServicesManager.cs
- DrawingImage.cs
- ExpressionServices.cs
- SecurityAlgorithmSuiteConverter.cs
- ReferenceService.cs
- DbProviderManifest.cs
- SymbolPair.cs
- _FtpControlStream.cs
- ToolStripContainer.cs
- DataControlButton.cs
- FrugalList.cs