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
- RenderDataDrawingContext.cs
- DocumentSchemaValidator.cs
- XmlDataCollection.cs
- RegexGroup.cs
- TextPattern.cs
- IPAddressCollection.cs
- SqlClientFactory.cs
- ResXResourceWriter.cs
- CodeTypeDelegate.cs
- ObjectPersistData.cs
- EventDescriptor.cs
- DesignerSerializationVisibilityAttribute.cs
- ConversionContext.cs
- XPathDocumentNavigator.cs
- ParameterEditorUserControl.cs
- ADMembershipUser.cs
- DataContractSerializer.cs
- WorkerRequest.cs
- ThousandthOfEmRealDoubles.cs
- objectquery_tresulttype.cs
- StateManagedCollection.cs
- ModelVisual3D.cs
- ListBase.cs
- SetIterators.cs
- WebPartCatalogAddVerb.cs
- RadioButtonRenderer.cs
- FormClosedEvent.cs
- XmlSchemaInclude.cs
- TransportBindingElement.cs
- MaterialGroup.cs
- RegexCompilationInfo.cs
- TrustManager.cs
- WebDescriptionAttribute.cs
- XmlNode.cs
- OleDbRowUpdatedEvent.cs
- ProtectedProviderSettings.cs
- EdmSchemaError.cs
- DefaultEvaluationContext.cs
- SpeakCompletedEventArgs.cs
- TaiwanCalendar.cs
- UnsafeNativeMethods.cs
- TypefaceMetricsCache.cs
- TextTreeInsertElementUndoUnit.cs
- ReferencedCollectionType.cs
- StandardBindingReliableSessionElement.cs
- Visual3DCollection.cs
- MgmtConfigurationRecord.cs
- ObjectNavigationPropertyMapping.cs
- BlockUIContainer.cs
- RandomDelaySendsAsyncResult.cs
- AnnotationResourceChangedEventArgs.cs
- AbandonedMutexException.cs
- Point4D.cs
- PersonalizationProvider.cs
- PointCollectionValueSerializer.cs
- PointLightBase.cs
- ErrorInfoXmlDocument.cs
- AutomationFocusChangedEventArgs.cs
- ScriptModule.cs
- DataGridViewCellCancelEventArgs.cs
- LinearKeyFrames.cs
- documentsequencetextcontainer.cs
- WindowsGraphics2.cs
- StatusCommandUI.cs
- UnhandledExceptionEventArgs.cs
- XmlFormatWriterGenerator.cs
- XPathSelectionIterator.cs
- ProxyHelper.cs
- EndpointBehaviorElement.cs
- FormViewRow.cs
- HighlightComponent.cs
- BinaryKeyIdentifierClause.cs
- BitmapEffectState.cs
- QueryCorrelationInitializer.cs
- TextModifier.cs
- ModelItemCollection.cs
- SqlColumnizer.cs
- MailAddress.cs
- MailMessage.cs
- Package.cs
- BitmapCodecInfoInternal.cs
- UdpChannelFactory.cs
- ImageListStreamer.cs
- PropertyDescriptorGridEntry.cs
- RadioButtonRenderer.cs
- ShapeTypeface.cs
- TcpServerChannel.cs
- OrderByQueryOptionExpression.cs
- RecordManager.cs
- NullableConverter.cs
- shaper.cs
- PictureBox.cs
- RuntimeConfigLKG.cs
- PropertyPath.cs
- ListenerConnectionDemuxer.cs
- HitTestFilterBehavior.cs
- ItemAutomationPeer.cs
- RegionIterator.cs
- EUCJPEncoding.cs
- HtmlEncodedRawTextWriter.cs