Code:
/ FX-1434 / FX-1434 / 1.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
- TargetPerspective.cs
- ResourcePool.cs
- ChunkedMemoryStream.cs
- CodeTypeParameterCollection.cs
- DataServiceBehavior.cs
- DrawListViewColumnHeaderEventArgs.cs
- ResourceCategoryAttribute.cs
- TextDecorationCollectionConverter.cs
- Button.cs
- BufferBuilder.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- DataGridLengthConverter.cs
- keycontainerpermission.cs
- CopyNodeSetAction.cs
- ListControlActionList.cs
- ContentType.cs
- IgnoreFileBuildProvider.cs
- PictureBoxDesigner.cs
- EventEntry.cs
- RegexNode.cs
- HtmlInputFile.cs
- ActivityMarkupSerializationProvider.cs
- DependencyObject.cs
- HttpProtocolImporter.cs
- ContextProperty.cs
- PropertyRecord.cs
- LineServicesCallbacks.cs
- SerializationInfoEnumerator.cs
- SqlCacheDependencyDatabaseCollection.cs
- NameValueCollection.cs
- BindingManagerDataErrorEventArgs.cs
- ExpandedWrapper.cs
- ViewBase.cs
- WebPartDeleteVerb.cs
- IgnoreSection.cs
- PopupEventArgs.cs
- VarInfo.cs
- HierarchicalDataTemplate.cs
- KnownBoxes.cs
- DesigntimeLicenseContextSerializer.cs
- WindowsListViewSubItem.cs
- altserialization.cs
- DiscoveryClientProtocol.cs
- TemplateControlBuildProvider.cs
- ButtonChrome.cs
- DES.cs
- DrawTreeNodeEventArgs.cs
- SeekableReadStream.cs
- EntityCommandDefinition.cs
- WindowsUserNameCachingSecurityTokenAuthenticator.cs
- XmlSchemaValidationException.cs
- CodeTypeDelegate.cs
- AnimationStorage.cs
- COAUTHIDENTITY.cs
- BinaryFormatter.cs
- DesignerTransactionCloseEvent.cs
- RenderData.cs
- RectangleConverter.cs
- IisTraceListener.cs
- _ListenerRequestStream.cs
- SingleAnimationBase.cs
- NGCSerializer.cs
- PluggableProtocol.cs
- SubpageParaClient.cs
- DataListCommandEventArgs.cs
- WindowsStatusBar.cs
- ErrorWebPart.cs
- AstTree.cs
- RetrieveVirtualItemEventArgs.cs
- SimpleHandlerBuildProvider.cs
- EntityContainerEmitter.cs
- FirstMatchCodeGroup.cs
- PointValueSerializer.cs
- DebugInfoGenerator.cs
- EventLogPermissionEntry.cs
- PersistenceTypeAttribute.cs
- CollectionBase.cs
- Image.cs
- BorderGapMaskConverter.cs
- EncoderExceptionFallback.cs
- DelegatingConfigHost.cs
- PeerReferralPolicy.cs
- ResXDataNode.cs
- SoapException.cs
- IPEndPointCollection.cs
- TransportConfigurationTypeElement.cs
- XamlFrame.cs
- ComplusEndpointConfigContainer.cs
- OdbcError.cs
- NamespaceList.cs
- TreeNodeClickEventArgs.cs
- storepermission.cs
- mediaeventargs.cs
- DataServiceRequestOfT.cs
- ToolStripDropDown.cs
- ResourcePermissionBase.cs
- AsnEncodedData.cs
- AppDomain.cs
- WorkItem.cs
- ConsumerConnectionPointCollection.cs