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
- AsmxEndpointPickerExtension.cs
- ControlBuilderAttribute.cs
- AssemblyBuilder.cs
- URLBuilder.cs
- BindStream.cs
- MenuItemStyle.cs
- WebScriptEndpointElement.cs
- EntityDesignerBuildProvider.cs
- TrackingDataItemValue.cs
- RowToFieldTransformer.cs
- XPathArrayIterator.cs
- AspNetHostingPermission.cs
- ListViewCancelEventArgs.cs
- IIS7UserPrincipal.cs
- TextRunProperties.cs
- GorillaCodec.cs
- DesignerAttribute.cs
- SemaphoreFullException.cs
- CacheForPrimitiveTypes.cs
- PackageStore.cs
- TextContainerChangedEventArgs.cs
- DecoderBestFitFallback.cs
- Emitter.cs
- XmlHierarchyData.cs
- DynamicActionMessageFilter.cs
- _TLSstream.cs
- DbCommandTree.cs
- ConnectionStringsExpressionBuilder.cs
- SqlMethodAttribute.cs
- GregorianCalendar.cs
- FillBehavior.cs
- ProviderSettingsCollection.cs
- Comparer.cs
- GeneratedContractType.cs
- NetNamedPipeBindingElement.cs
- Authorization.cs
- UdpUtility.cs
- DataGridPagerStyle.cs
- ApplicationFileCodeDomTreeGenerator.cs
- Serializer.cs
- DataGridColumnCollection.cs
- IsolatedStorageSecurityState.cs
- TriggerActionCollection.cs
- UriParserTemplates.cs
- ValueTypeFixupInfo.cs
- KeyValueSerializer.cs
- DoubleLinkListEnumerator.cs
- EditorZoneBase.cs
- SystemColors.cs
- HighContrastHelper.cs
- FacetDescriptionElement.cs
- AutomationPropertyInfo.cs
- XmlQueryStaticData.cs
- MeshGeometry3D.cs
- CodeNamespaceCollection.cs
- BoundingRectTracker.cs
- ZoneMembershipCondition.cs
- ObjectListItem.cs
- XpsS0ValidatingLoader.cs
- EmbeddedMailObject.cs
- KeyInfo.cs
- RuntimeHelpers.cs
- ContextMarshalException.cs
- LinearGradientBrush.cs
- IndexingContentUnit.cs
- InnerItemCollectionView.cs
- GeneralTransform3D.cs
- StyleHelper.cs
- ResourceExpressionBuilder.cs
- PasswordPropertyTextAttribute.cs
- XmlElementList.cs
- ToolStripOverflowButton.cs
- ParenthesizePropertyNameAttribute.cs
- RouteValueExpressionBuilder.cs
- XPathNode.cs
- XamlReaderHelper.cs
- ImageMapEventArgs.cs
- KeysConverter.cs
- MissingMethodException.cs
- MiniAssembly.cs
- XPathException.cs
- TableItemPatternIdentifiers.cs
- SecurityRuntime.cs
- ConstrainedGroup.cs
- MenuStrip.cs
- NativeMethods.cs
- RolePrincipal.cs
- ContextMarshalException.cs
- RuleSettings.cs
- RevocationPoint.cs
- EditorZone.cs
- EntityDataSourceSelectingEventArgs.cs
- DataControlFieldsEditor.cs
- SinglePageViewer.cs
- RegexMatch.cs
- CredentialCache.cs
- PrePostDescendentsWalker.cs
- ViewStateModeByIdAttribute.cs
- InputLanguage.cs
- OneOfTypeConst.cs