Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / EditableRegion.cs / 1 / EditableRegion.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design { using System; using System.Drawing.Design; ////// /// Provides the necessary functionality for an editable region in a designer /// public class EditableDesignerRegion : DesignerRegion { private bool _serverControlsOnly; private bool _supportsDataBinding; ///public EditableDesignerRegion(ControlDesigner owner, string name) : this(owner, name, false) { } /// public EditableDesignerRegion(ControlDesigner owner, string name, bool serverControlsOnly) : base(owner, name) { _serverControlsOnly = serverControlsOnly; } /// /// /// public virtual string Content { get { return Designer.GetEditableDesignerRegionContent(this); } set { Designer.SetEditableDesignerRegionContent(this, value); } } ////// /// public bool ServerControlsOnly { get { return _serverControlsOnly; } set { _serverControlsOnly = value; } } ////// public virtual bool SupportsDataBinding { get { return _supportsDataBinding; } set { _supportsDataBinding = value; } } ///public virtual ViewRendering GetChildViewRendering(Control control) { return ControlDesigner.GetViewRendering(control); } } } // 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
- SupportsEventValidationAttribute.cs
- XmlSignatureManifest.cs
- HttpRequestTraceRecord.cs
- BindToObject.cs
- Label.cs
- SettingsPropertyCollection.cs
- Int64Storage.cs
- TrackBar.cs
- HandledEventArgs.cs
- GestureRecognitionResult.cs
- Int32AnimationUsingKeyFrames.cs
- DelimitedListTraceListener.cs
- ObjectItemCollection.cs
- View.cs
- DataIdProcessor.cs
- VerificationAttribute.cs
- WorkflowRuntimeServiceElementCollection.cs
- ExtenderProvidedPropertyAttribute.cs
- SettingsAttributeDictionary.cs
- LocalizableAttribute.cs
- HandlerBase.cs
- XmlCDATASection.cs
- SoapProtocolReflector.cs
- xmlglyphRunInfo.cs
- Propagator.cs
- OdbcEnvironmentHandle.cs
- SafeNativeMethods.cs
- VerbConverter.cs
- ExpressionNode.cs
- QilReplaceVisitor.cs
- DetailsViewModeEventArgs.cs
- ReadWriteObjectLock.cs
- WebPartEventArgs.cs
- TypeConverterHelper.cs
- ProjectionAnalyzer.cs
- UTF8Encoding.cs
- BlurBitmapEffect.cs
- AccessibleObject.cs
- ClientApiGenerator.cs
- DifferencingCollection.cs
- SplitContainerDesigner.cs
- ObservableCollection.cs
- SerializationSectionGroup.cs
- Rect3D.cs
- DataGridViewLayoutData.cs
- ByteConverter.cs
- MD5CryptoServiceProvider.cs
- ListViewGroupConverter.cs
- FactoryGenerator.cs
- TreeNodeCollection.cs
- XmlAttributeOverrides.cs
- ActivityExecutionFilter.cs
- RouteParser.cs
- GenericTypeParameterBuilder.cs
- RowBinding.cs
- SmtpDigestAuthenticationModule.cs
- InputScopeNameConverter.cs
- LogSwitch.cs
- DataControlHelper.cs
- PackWebRequest.cs
- XmlFormatReaderGenerator.cs
- RectAnimationUsingKeyFrames.cs
- ConfigurationValues.cs
- NativeStructs.cs
- HitTestDrawingContextWalker.cs
- TrackBar.cs
- ThicknessAnimationBase.cs
- CroppedBitmap.cs
- EntityParameterCollection.cs
- TimersDescriptionAttribute.cs
- EditorPartCollection.cs
- QuotedStringFormatReader.cs
- ACE.cs
- XmlElement.cs
- UIHelper.cs
- QuaternionAnimationBase.cs
- ProviderConnectionPointCollection.cs
- DivideByZeroException.cs
- WorkflowStateRollbackService.cs
- MSAAWinEventWrap.cs
- UpdateManifestForBrowserApplication.cs
- PassportPrincipal.cs
- DBBindings.cs
- PersonalizationEntry.cs
- IdentityModelDictionary.cs
- CalendarTable.cs
- _OverlappedAsyncResult.cs
- CodeDirectoryCompiler.cs
- RelationshipFixer.cs
- XmlException.cs
- _ConnectStream.cs
- KeyValueSerializer.cs
- GridItemCollection.cs
- WindowsListViewItem.cs
- DynamicDataRouteHandler.cs
- IxmlLineInfo.cs
- SecurityContext.cs
- BinaryWriter.cs
- loginstatus.cs
- NullableConverter.cs