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
- XmlSiteMapProvider.cs
- UIHelper.cs
- QilValidationVisitor.cs
- RequestQueue.cs
- ServiceOperation.cs
- DeleteIndexBinder.cs
- ActivityCollectionMarkupSerializer.cs
- Atom10FormatterFactory.cs
- BorderSidesEditor.cs
- MouseGestureConverter.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- FastEncoder.cs
- Baml6Assembly.cs
- Menu.cs
- HitTestResult.cs
- WorkItem.cs
- Rule.cs
- FormatException.cs
- DateTimeFormatInfo.cs
- CheckableControlBaseAdapter.cs
- FrameworkElementAutomationPeer.cs
- OdbcStatementHandle.cs
- OracleSqlParser.cs
- WebServiceClientProxyGenerator.cs
- DateTimeConverter2.cs
- NativeMethods.cs
- BigInt.cs
- CommonObjectSecurity.cs
- InternalCompensate.cs
- SemanticTag.cs
- PropertyIDSet.cs
- RouteValueExpressionBuilder.cs
- MatrixAnimationUsingKeyFrames.cs
- Model3D.cs
- MachineSettingsSection.cs
- HtmlForm.cs
- TextRunCache.cs
- DbConnectionPoolIdentity.cs
- DirtyTextRange.cs
- BoundColumn.cs
- SpellerHighlightLayer.cs
- Font.cs
- GridToolTip.cs
- UriSchemeKeyedCollection.cs
- EntityContainerAssociationSetEnd.cs
- MediaTimeline.cs
- CorrelationService.cs
- MediaCommands.cs
- validationstate.cs
- WindowHideOrCloseTracker.cs
- DataGridAutomationPeer.cs
- PropertyManager.cs
- BitmapPalette.cs
- DataGridViewTextBoxCell.cs
- HierarchicalDataBoundControlAdapter.cs
- WebControlsSection.cs
- SoapExtensionStream.cs
- CombinedGeometry.cs
- BulletedListDesigner.cs
- FirstMatchCodeGroup.cs
- IntPtr.cs
- Rotation3DAnimation.cs
- TextTreeNode.cs
- MouseOverProperty.cs
- TextTreeObjectNode.cs
- BuildDependencySet.cs
- UserControlBuildProvider.cs
- SecurityChannelListener.cs
- ResourceReferenceExpression.cs
- XmlAttributeOverrides.cs
- ColorConverter.cs
- Int64Animation.cs
- SqlDataReader.cs
- ByteAnimationBase.cs
- HostedBindingBehavior.cs
- DynamicValueConverter.cs
- sqlmetadatafactory.cs
- SafeHandles.cs
- ADConnectionHelper.cs
- ProgressBarBrushConverter.cs
- SimplePropertyEntry.cs
- ExportOptions.cs
- ConfigPathUtility.cs
- CompositeTypefaceMetrics.cs
- HMACSHA1.cs
- _Events.cs
- fixedPageContentExtractor.cs
- GC.cs
- Size.cs
- DataGridColumnCollection.cs
- HttpCapabilitiesBase.cs
- KnownColorTable.cs
- NullableBoolConverter.cs
- XmlEncoding.cs
- SeverityFilter.cs
- DataTableReader.cs
- Grant.cs
- ZipIOCentralDirectoryFileHeader.cs
- GeneralTransform2DTo3D.cs
- SimpleFieldTemplateFactory.cs