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
- InvokeWebServiceDesigner.cs
- ExtensionsSection.cs
- TreeViewDesigner.cs
- FileIOPermission.cs
- DSACryptoServiceProvider.cs
- CompletionBookmark.cs
- GridSplitter.cs
- WrapPanel.cs
- FileDialogCustomPlacesCollection.cs
- IndentedWriter.cs
- KeyedPriorityQueue.cs
- SignatureResourcePool.cs
- XmlSchemaSimpleType.cs
- Configuration.cs
- MSG.cs
- PostBackOptions.cs
- CompiledRegexRunner.cs
- EntryIndex.cs
- securestring.cs
- ActivityMarkupSerializationProvider.cs
- XmlJsonReader.cs
- ValidationRuleCollection.cs
- SqlFormatter.cs
- HtmlInputSubmit.cs
- PartialCachingAttribute.cs
- SqlBinder.cs
- wgx_render.cs
- GeneralTransform.cs
- EntityStoreSchemaFilterEntry.cs
- ConditionCollection.cs
- SymbolTable.cs
- AnonymousIdentificationSection.cs
- KeyTime.cs
- ToolStripScrollButton.cs
- TraceSwitch.cs
- DefaultProxySection.cs
- Verify.cs
- HttpListenerPrefixCollection.cs
- Attributes.cs
- TraceProvider.cs
- WSSecurityOneDotOneReceiveSecurityHeader.cs
- ReverseInheritProperty.cs
- ReadContentAsBinaryHelper.cs
- FileRecordSequence.cs
- RTTrackingProfile.cs
- TargetControlTypeAttribute.cs
- PenLineCapValidation.cs
- DBAsyncResult.cs
- StyleModeStack.cs
- MTConfigUtil.cs
- FragmentQueryKB.cs
- ArraySubsetEnumerator.cs
- ToolboxItemWrapper.cs
- ClearTypeHintValidation.cs
- BeginEvent.cs
- VisualStateGroup.cs
- WpfMemberInvoker.cs
- Track.cs
- RefreshPropertiesAttribute.cs
- StyleSheetDesigner.cs
- HttpCapabilitiesEvaluator.cs
- Assembly.cs
- RegularExpressionValidator.cs
- UnknownBitmapDecoder.cs
- DesignOnlyAttribute.cs
- XmlSchemaSimpleTypeUnion.cs
- IIS7UserPrincipal.cs
- ImplicitInputBrush.cs
- WorkflowInstance.cs
- Inline.cs
- MarkupObject.cs
- KnowledgeBase.cs
- BridgeDataReader.cs
- DataGridPreparingCellForEditEventArgs.cs
- ServiceDescription.cs
- WindowsUpDown.cs
- GcSettings.cs
- designeractionbehavior.cs
- Rule.cs
- ResetableIterator.cs
- DocumentReferenceCollection.cs
- XmlSerializerAssemblyAttribute.cs
- StringSorter.cs
- ConfigurationValues.cs
- Invariant.cs
- CqlIdentifiers.cs
- ContainerUtilities.cs
- webclient.cs
- EditingMode.cs
- HttpRequestWrapper.cs
- SafeCertificateContext.cs
- AnnotationComponentChooser.cs
- Convert.cs
- ForceCopyBuildProvider.cs
- BamlReader.cs
- CustomAttributeSerializer.cs
- CmsUtils.cs
- XmlChoiceIdentifierAttribute.cs
- ZipIOCentralDirectoryBlock.cs
- Frame.cs