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
- Sentence.cs
- DescendentsWalker.cs
- OleDbMetaDataFactory.cs
- Baml2006ReaderFrame.cs
- AccessorTable.cs
- StringValidator.cs
- Cursor.cs
- EdmScalarPropertyAttribute.cs
- EdmProviderManifest.cs
- FormViewInsertedEventArgs.cs
- SQLInt64Storage.cs
- NativeRecognizer.cs
- Matrix3DConverter.cs
- EntityDataSourceEntitySetNameItem.cs
- ByteFacetDescriptionElement.cs
- FormatException.cs
- GridViewRowCollection.cs
- AnonymousIdentificationSection.cs
- ButtonDesigner.cs
- PiiTraceSource.cs
- MarkedHighlightComponent.cs
- EntitySet.cs
- PartialClassGenerationTask.cs
- DataGridViewSelectedRowCollection.cs
- RegisteredArrayDeclaration.cs
- XmlIterators.cs
- ServiceDescriptionImporter.cs
- IDQuery.cs
- SqlCharStream.cs
- externdll.cs
- RepeatButtonAutomationPeer.cs
- MediaTimeline.cs
- InputProviderSite.cs
- Reference.cs
- Constraint.cs
- Int32RectValueSerializer.cs
- ReservationNotFoundException.cs
- OwnerDrawPropertyBag.cs
- BmpBitmapEncoder.cs
- DecoderFallback.cs
- ChannelServices.cs
- SignHashRequest.cs
- ContentPlaceHolder.cs
- Window.cs
- ReadOnlyPropertyMetadata.cs
- Debug.cs
- WebUtil.cs
- EventLogPermissionHolder.cs
- ImmComposition.cs
- BitmapMetadata.cs
- RijndaelManagedTransform.cs
- RegistrySecurity.cs
- XPathParser.cs
- StorageMappingItemLoader.cs
- DynamicQueryableWrapper.cs
- ZoneLinkButton.cs
- EntityStoreSchemaGenerator.cs
- TransformerInfo.cs
- TextEditorThreadLocalStore.cs
- DoubleLinkListEnumerator.cs
- GetReadStreamResult.cs
- SupportsEventValidationAttribute.cs
- NeutralResourcesLanguageAttribute.cs
- DeferredBinaryDeserializerExtension.cs
- unsafeIndexingFilterStream.cs
- GcSettings.cs
- ServerValidateEventArgs.cs
- CommandSet.cs
- Misc.cs
- ContextQuery.cs
- AttachInfo.cs
- ServerIdentity.cs
- FocusChangedEventArgs.cs
- WindowsListViewGroup.cs
- HtmlImageAdapter.cs
- BitmapEffectOutputConnector.cs
- EntityDataSourceChangedEventArgs.cs
- EditorZoneBase.cs
- ChildDocumentBlock.cs
- _TimerThread.cs
- DataGridViewDataErrorEventArgs.cs
- XamlStackWriter.cs
- UdpChannelFactory.cs
- BoolExpressionVisitors.cs
- HtmlTable.cs
- SchemaImporter.cs
- InvalidateEvent.cs
- SystemKeyConverter.cs
- ControlAdapter.cs
- SpeechUI.cs
- WebPageTraceListener.cs
- AccessibleObject.cs
- ServiceNameCollection.cs
- FloaterParagraph.cs
- LockCookie.cs
- XmlSchemaGroup.cs
- Size.cs
- DataGridTextBoxColumn.cs
- SmtpSection.cs
- RuntimeCompatibilityAttribute.cs