Code:
/ FX-1434 / FX-1434 / 1.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
- GlobalAllocSafeHandle.cs
- Label.cs
- RepeatButton.cs
- HandlerBase.cs
- DataGridCommandEventArgs.cs
- IndividualDeviceConfig.cs
- ClipboardData.cs
- Span.cs
- ImageClickEventArgs.cs
- ReferenceConverter.cs
- TextDpi.cs
- StringUtil.cs
- EntityDesignerUtils.cs
- XmlExtensionFunction.cs
- nulltextnavigator.cs
- PeerApplicationLaunchInfo.cs
- Clipboard.cs
- SQLInt16.cs
- BaseAppDomainProtocolHandler.cs
- SaveFileDialog.cs
- ForceCopyBuildProvider.cs
- ConnectionStringsSection.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- CollectionViewProxy.cs
- UnhandledExceptionEventArgs.cs
- ClientRoleProvider.cs
- WindowInteropHelper.cs
- InkSerializer.cs
- Visual3D.cs
- ObjectDataSourceView.cs
- TypographyProperties.cs
- DisplayInformation.cs
- KnownIds.cs
- ParseElement.cs
- CheckBoxAutomationPeer.cs
- RadioButton.cs
- ScrollData.cs
- CalendarDesigner.cs
- PieceNameHelper.cs
- SecurityManager.cs
- DataRelation.cs
- SpanIndex.cs
- XsdBuilder.cs
- WebScriptEndpointElement.cs
- HostingEnvironmentException.cs
- LZCodec.cs
- FigureHelper.cs
- WebPartConnectionCollection.cs
- RawUIStateInputReport.cs
- Types.cs
- NullableIntMinMaxAggregationOperator.cs
- __Filters.cs
- DiscoveryViaBehavior.cs
- XmlnsCache.cs
- NamedPipeWorkerProcess.cs
- ViewSimplifier.cs
- UriTemplateQueryValue.cs
- DataStreamFromComStream.cs
- MetafileHeader.cs
- ConfigurationConverterBase.cs
- BindingManagerDataErrorEventArgs.cs
- CommunicationObjectFaultedException.cs
- PropertyGeneratedEventArgs.cs
- CSharpCodeProvider.cs
- SafeFileMappingHandle.cs
- SqlTopReducer.cs
- Monitor.cs
- BaseConfigurationRecord.cs
- SemaphoreFullException.cs
- ButtonBase.cs
- Missing.cs
- AttachInfo.cs
- HtmlButton.cs
- GridProviderWrapper.cs
- ClientCredentialsElement.cs
- SubclassTypeValidatorAttribute.cs
- ViewStateModeByIdAttribute.cs
- DataServiceStreamProviderWrapper.cs
- Stylesheet.cs
- SapiRecognizer.cs
- securitycriticaldataformultiplegetandset.cs
- PassportPrincipal.cs
- RepeaterCommandEventArgs.cs
- ApplicationSecurityInfo.cs
- FixedPageAutomationPeer.cs
- RegexCode.cs
- ValidatingPropertiesEventArgs.cs
- ByteConverter.cs
- DataGridCell.cs
- GlobalizationSection.cs
- DataGridCommandEventArgs.cs
- RuntimeCompatibilityAttribute.cs
- RoleServiceManager.cs
- AddValidationError.cs
- RecommendedAsConfigurableAttribute.cs
- DispatchChannelSink.cs
- DictionaryContent.cs
- StrongNameMembershipCondition.cs
- XmlSchemaDatatype.cs
- ToolStripContainer.cs