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
- Hash.cs
- StreamMarshaler.cs
- DictionaryEntry.cs
- ReachDocumentPageSerializer.cs
- TransformedBitmap.cs
- COM2Enum.cs
- XmlNodeReader.cs
- InputBinding.cs
- FileController.cs
- DataControlPagerLinkButton.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- HandleCollector.cs
- ResourceReader.cs
- ChannelServices.cs
- BinaryExpression.cs
- DataComponentGenerator.cs
- CompiledAction.cs
- AmbientProperties.cs
- WindowsFormsSynchronizationContext.cs
- ObjectDataSourceDisposingEventArgs.cs
- XamlVector3DCollectionSerializer.cs
- AssemblyCollection.cs
- AccessDataSource.cs
- XamlReaderConstants.cs
- TextBreakpoint.cs
- LongTypeConverter.cs
- BrowsableAttribute.cs
- WebRequest.cs
- XmlSchemaType.cs
- CryptoProvider.cs
- PathFigureCollectionValueSerializer.cs
- InfoCardUIAgent.cs
- DomNameTable.cs
- GatewayDefinition.cs
- RegexBoyerMoore.cs
- StorageAssociationSetMapping.cs
- ControlPropertyNameConverter.cs
- DataGridViewRowStateChangedEventArgs.cs
- XmlILConstructAnalyzer.cs
- RenamedEventArgs.cs
- ProgressBarHighlightConverter.cs
- MergePropertyDescriptor.cs
- DataBindingList.cs
- UInt16.cs
- AdornedElementPlaceholder.cs
- TextDecorationCollection.cs
- StyleBamlTreeBuilder.cs
- HttpRuntime.cs
- EntityDataSourceEntitySetNameItem.cs
- ManipulationInertiaStartingEventArgs.cs
- PropertyEmitter.cs
- EntityContainerEmitter.cs
- WebPartConnectionsConnectVerb.cs
- TextMarkerSource.cs
- NativeMethods.cs
- HebrewNumber.cs
- ResXResourceSet.cs
- EnumerableCollectionView.cs
- TemplateControlParser.cs
- HandlerFactoryWrapper.cs
- RawMouseInputReport.cs
- DSASignatureDeformatter.cs
- FeatureAttribute.cs
- ClaimComparer.cs
- PropertyGeneratedEventArgs.cs
- HttpPostProtocolImporter.cs
- FormsAuthenticationEventArgs.cs
- tibetanshape.cs
- SQlBooleanStorage.cs
- newinstructionaction.cs
- DataGridCell.cs
- Pair.cs
- MULTI_QI.cs
- ReferentialConstraint.cs
- FacetChecker.cs
- CodeSubDirectory.cs
- WpfPayload.cs
- DurableMessageDispatchInspector.cs
- NameValueConfigurationElement.cs
- ProxyWebPartConnectionCollection.cs
- SmtpTransport.cs
- GeometryHitTestParameters.cs
- MsmqHostedTransportManager.cs
- WebReferencesBuildProvider.cs
- ProxyWebPart.cs
- Debug.cs
- InkSerializer.cs
- DataGridViewMethods.cs
- ImageCodecInfo.cs
- XamlNamespaceHelper.cs
- NoneExcludedImageIndexConverter.cs
- EdmSchemaError.cs
- UriScheme.cs
- PieceDirectory.cs
- NamedPermissionSet.cs
- ModulesEntry.cs
- CompilerGlobalScopeAttribute.cs
- Message.cs
- ContentIterators.cs
- ThemeDictionaryExtension.cs