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
- DataGridViewElement.cs
- DSACryptoServiceProvider.cs
- Perspective.cs
- XmlDocumentSerializer.cs
- FontInfo.cs
- TcpClientSocketManager.cs
- ObjectReaderCompiler.cs
- DataListItem.cs
- LinkedList.cs
- WorkflowFormatterBehavior.cs
- PointValueSerializer.cs
- ReadOnlyDictionary.cs
- AuthStoreRoleProvider.cs
- CacheForPrimitiveTypes.cs
- COSERVERINFO.cs
- Pair.cs
- SrgsText.cs
- RecipientInfo.cs
- WebBrowserEvent.cs
- SiteMapDataSource.cs
- ApplicationFileCodeDomTreeGenerator.cs
- ProcessProtocolHandler.cs
- SystemIPv4InterfaceProperties.cs
- CompositeFontFamily.cs
- AspCompat.cs
- Configuration.cs
- SimpleTypeResolver.cs
- TreeIterators.cs
- WindowsComboBox.cs
- CroppedBitmap.cs
- SchemaTableColumn.cs
- FederatedMessageSecurityOverHttpElement.cs
- DBConnection.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- DataRowView.cs
- CommonGetThemePartSize.cs
- SQLInt32Storage.cs
- CompilerGlobalScopeAttribute.cs
- XmlWrappingReader.cs
- DataPointer.cs
- XmlElementAttributes.cs
- UTF32Encoding.cs
- TemplatedAdorner.cs
- MenuItem.cs
- Interfaces.cs
- ScriptingWebServicesSectionGroup.cs
- TabControl.cs
- MarkupCompilePass1.cs
- ChangeDirector.cs
- DataServiceQuery.cs
- SiblingIterators.cs
- ListBoxAutomationPeer.cs
- RemotingAttributes.cs
- LoginUtil.cs
- XpsS0ValidatingLoader.cs
- StrongNameKeyPair.cs
- _HeaderInfoTable.cs
- WindowsRegion.cs
- WizardPanelChangingEventArgs.cs
- DataGridLinkButton.cs
- NullExtension.cs
- HostVisual.cs
- XmlSchemaProviderAttribute.cs
- SystemUdpStatistics.cs
- IconConverter.cs
- AnonymousIdentificationSection.cs
- SQLInt32Storage.cs
- ToolStripItemImageRenderEventArgs.cs
- XmlFormatReaderGenerator.cs
- CursorConverter.cs
- TypeTypeConverter.cs
- MdImport.cs
- PageSetupDialog.cs
- ThreadAttributes.cs
- FakeModelItemImpl.cs
- ComponentResourceKey.cs
- DeleteMemberBinder.cs
- Pair.cs
- Deflater.cs
- TextTreeDeleteContentUndoUnit.cs
- SemanticResultKey.cs
- XmlWellformedWriter.cs
- ComboBoxRenderer.cs
- AssemblyBuilderData.cs
- DeclarativeCatalogPart.cs
- ContourSegment.cs
- RelatedView.cs
- DataColumnCollection.cs
- PropertyChangeTracker.cs
- SymmetricAlgorithm.cs
- OleDbInfoMessageEvent.cs
- ComboBox.cs
- LineServicesRun.cs
- ProfileGroupSettings.cs
- DependencyObject.cs
- FrameDimension.cs
- TableItemPattern.cs
- ListViewTableRow.cs
- StringSorter.cs
- SqlRecordBuffer.cs