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
- DefaultExpressionVisitor.cs
- DeviceOverridableAttribute.cs
- UserControl.cs
- AbstractDataSvcMapFileLoader.cs
- Camera.cs
- FactoryMaker.cs
- WebPartHeaderCloseVerb.cs
- StorageMappingItemLoader.cs
- XmlDictionaryWriter.cs
- FontStretchConverter.cs
- nulltextcontainer.cs
- TaskFileService.cs
- DbExpressionRules.cs
- SqlProcedureAttribute.cs
- InstanceView.cs
- _ConnectOverlappedAsyncResult.cs
- PropertyMapper.cs
- SQLDecimalStorage.cs
- OperationAbortedException.cs
- HtmlHistory.cs
- WebPartVerbsEventArgs.cs
- CommandHelper.cs
- storepermissionattribute.cs
- DeflateEmulationStream.cs
- CodeSubDirectoriesCollection.cs
- NonVisualControlAttribute.cs
- DecoderReplacementFallback.cs
- RawStylusInputCustomDataList.cs
- PartitionerQueryOperator.cs
- Resources.Designer.cs
- BuildProviderUtils.cs
- ProgressPage.cs
- XmlSchemaDocumentation.cs
- BitmapCache.cs
- httpserverutility.cs
- SignatureToken.cs
- DataObjectCopyingEventArgs.cs
- RoleGroupCollection.cs
- String.cs
- LicenseProviderAttribute.cs
- MeshGeometry3D.cs
- ComboBoxRenderer.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- ActiveXContainer.cs
- QilLiteral.cs
- shaperfactoryquerycacheentry.cs
- GridViewSelectEventArgs.cs
- FirewallWrapper.cs
- ExpressionConverter.cs
- AuthenticationSection.cs
- SizeFConverter.cs
- NamespaceMapping.cs
- BaseParagraph.cs
- ThreadAbortException.cs
- SpellerStatusTable.cs
- RTLAwareMessageBox.cs
- ExpressionBuilderCollection.cs
- RemotingConfiguration.cs
- TypeInitializationException.cs
- MembershipPasswordException.cs
- InvokeBinder.cs
- CodeExporter.cs
- DataSourceControlBuilder.cs
- SqlConnection.cs
- ComPlusAuthorization.cs
- WebPartConnection.cs
- FrameworkContentElementAutomationPeer.cs
- XmlNodeComparer.cs
- EditorBrowsableAttribute.cs
- NodeFunctions.cs
- SqlCacheDependency.cs
- LayoutTableCell.cs
- ResourceDescriptionAttribute.cs
- SafeSecurityHelper.cs
- Configuration.cs
- WorkflowViewElement.cs
- MobileRedirect.cs
- WindowsEditBox.cs
- XmlAttributeCache.cs
- Point3DKeyFrameCollection.cs
- PackageDigitalSignature.cs
- RawStylusInputCustomData.cs
- ImmutableObjectAttribute.cs
- ObjectItemLoadingSessionData.cs
- Formatter.cs
- PropertyTabChangedEvent.cs
- ErrorWebPart.cs
- ContractTypeNameElement.cs
- XmlParserContext.cs
- ManifestResourceInfo.cs
- CounterCreationDataConverter.cs
- DataControlPagerLinkButton.cs
- embossbitmapeffect.cs
- ClickablePoint.cs
- AlphabetConverter.cs
- SchemaImporterExtensionElementCollection.cs
- Property.cs
- IsolatedStorageException.cs
- FontSourceCollection.cs
- StreamGeometryContext.cs