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
- LoopExpression.cs
- MetabaseSettingsIis7.cs
- RectangleGeometry.cs
- OleDbException.cs
- DispatcherOperation.cs
- ResourceReferenceExpressionConverter.cs
- OperatingSystemVersionCheck.cs
- MsmqIntegrationChannelListener.cs
- SqlOuterApplyReducer.cs
- SiteMembershipCondition.cs
- DelayedRegex.cs
- BinHexDecoder.cs
- UIElementPropertyUndoUnit.cs
- RuntimeTrackingProfile.cs
- StringResourceManager.cs
- ArgumentOutOfRangeException.cs
- RectangleF.cs
- PeerInvitationResponse.cs
- StringReader.cs
- HttpGetClientProtocol.cs
- BCryptSafeHandles.cs
- KeyGesture.cs
- MdImport.cs
- StringValidator.cs
- DataViewManager.cs
- InternalDuplexChannelListener.cs
- FontCollection.cs
- NavigationWindow.cs
- ProxyFragment.cs
- OdbcConnectionHandle.cs
- IPGlobalProperties.cs
- XmlNodeList.cs
- SystemTcpStatistics.cs
- UpWmlPageAdapter.cs
- WebPermission.cs
- RealizationContext.cs
- DesignerVerbCollection.cs
- httpstaticobjectscollection.cs
- x509store.cs
- Events.cs
- OptimalTextSource.cs
- BoundingRectTracker.cs
- RepeatBehavior.cs
- Slider.cs
- GlobalProxySelection.cs
- Internal.cs
- CapabilitiesAssignment.cs
- TCEAdapterGenerator.cs
- mactripleDES.cs
- DataList.cs
- CurrentTimeZone.cs
- XPathArrayIterator.cs
- MenuBase.cs
- IsolatedStorageFileStream.cs
- CalendarDateRange.cs
- Highlights.cs
- DataGridBeginningEditEventArgs.cs
- Cursor.cs
- DefaultObjectMappingItemCollection.cs
- DataSourceView.cs
- MatcherBuilder.cs
- CssStyleCollection.cs
- ObjectComplexPropertyMapping.cs
- TextContainerChangeEventArgs.cs
- ObjectContextServiceProvider.cs
- NameValuePair.cs
- ManagedWndProcTracker.cs
- TdsParser.cs
- String.cs
- HashRepartitionStream.cs
- AuthenticationModuleElementCollection.cs
- BooleanConverter.cs
- TextServicesDisplayAttributePropertyRanges.cs
- HostedTransportConfigurationManager.cs
- SafeBitVector32.cs
- StackBuilderSink.cs
- DrawingCollection.cs
- Vector3DIndependentAnimationStorage.cs
- SimplePropertyEntry.cs
- WebPartConnectionsConfigureVerb.cs
- SqlDataSourceCache.cs
- ByteConverter.cs
- WebBrowserUriTypeConverter.cs
- MetadataArtifactLoader.cs
- SmtpLoginAuthenticationModule.cs
- DynamicPropertyHolder.cs
- EncoderExceptionFallback.cs
- GridViewItemAutomationPeer.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- DesignerDataSourceView.cs
- GeneralTransform.cs
- BitmapEffectvisualstate.cs
- TemplatedAdorner.cs
- BooleanExpr.cs
- DBCSCodePageEncoding.cs
- ValidatedControlConverter.cs
- HtmlTextBoxAdapter.cs
- XmlMemberMapping.cs
- StateMachine.cs
- DesignerTransactionCloseEvent.cs