Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / WebControls / ViewDesigner.cs / 1 / ViewDesigner.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.WebControls { using System; using System.Collections; using System.ComponentModel; using System.Design; using System.Diagnostics; using System.Web.UI.WebControls; ////// /// [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] public class ViewDesigner : ContainerControlDesigner { public ViewDesigner() { FrameStyleInternal.Width = Unit.Percentage(100); } public override void Initialize(IComponent component) { VerifyInitializeArgument(component, typeof(View)); base.Initialize(component); } public override string GetDesignTimeHtml(DesignerRegionCollection regions) { return GetDesignTimeHtmlHelper(true, regions); } public override string GetDesignTimeHtml() { return GetDesignTimeHtmlHelper(false, null); } private string GetDesignTimeHtmlHelper(bool useRegions, DesignerRegionCollection regions) { View view = (View)Component; if (!(view.Parent is MultiView)) { return CreateInvalidParentDesignTimeHtml(typeof(View), typeof(MultiView)); } if (useRegions) { return base.GetDesignTimeHtml(regions); } else { return base.GetDesignTimeHtml(); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved./// Provides design-time support for the ////// web control. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- safex509handles.cs
- Msec.cs
- MarkupWriter.cs
- NameValuePair.cs
- SafeRightsManagementPubHandle.cs
- ToolboxBitmapAttribute.cs
- UnsafeNativeMethods.cs
- TransformConverter.cs
- SamlNameIdentifierClaimResource.cs
- MimeXmlReflector.cs
- ConstrainedDataObject.cs
- DecoratedNameAttribute.cs
- EntityDataSourceDataSelection.cs
- ConvertersCollection.cs
- TraceSwitch.cs
- LockedAssemblyCache.cs
- ResourceDictionary.cs
- CustomErrorCollection.cs
- SqlBooleanMismatchVisitor.cs
- LogFlushAsyncResult.cs
- DropDownList.cs
- Int32Collection.cs
- ReadOnlyObservableCollection.cs
- XmlDocumentType.cs
- ReflectionTypeLoadException.cs
- ListSortDescriptionCollection.cs
- WebException.cs
- RequestNavigateEventArgs.cs
- PointAnimation.cs
- FilterableAttribute.cs
- BitmapEffectState.cs
- TraceRecord.cs
- OverflowException.cs
- HtmlWindow.cs
- CheckedListBox.cs
- GenericWebPart.cs
- InterleavedZipPartStream.cs
- AutomationElementIdentifiers.cs
- DBConcurrencyException.cs
- RadioButtonList.cs
- StaticSiteMapProvider.cs
- XmlQuerySequence.cs
- PreservationFileWriter.cs
- SQLByteStorage.cs
- CryptoKeySecurity.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- EncoderExceptionFallback.cs
- LocatorPart.cs
- RewritingValidator.cs
- translator.cs
- FontFamily.cs
- GridView.cs
- IndentTextWriter.cs
- XmlRawWriterWrapper.cs
- XpsResourcePolicy.cs
- LabelLiteral.cs
- XmlnsCache.cs
- BlobPersonalizationState.cs
- CustomPeerResolverService.cs
- EntityDataSourceDesignerHelper.cs
- ChtmlSelectionListAdapter.cs
- CharKeyFrameCollection.cs
- DynamicQueryableWrapper.cs
- CopyAction.cs
- StreamingContext.cs
- HttpApplicationFactory.cs
- EdmProviderManifest.cs
- ResXResourceSet.cs
- FlowLayoutPanelDesigner.cs
- UnknownWrapper.cs
- CultureInfo.cs
- SecurityTokenResolver.cs
- Compilation.cs
- HMACMD5.cs
- BlockUIContainer.cs
- XmlEncodedRawTextWriter.cs
- SecurityDescriptor.cs
- CollectionViewProxy.cs
- Canvas.cs
- wgx_sdk_version.cs
- SimpleRecyclingCache.cs
- TaskDesigner.cs
- Symbol.cs
- baseaxisquery.cs
- BaseTemplateParser.cs
- GeneralTransform3DGroup.cs
- TreeNode.cs
- ControlIdConverter.cs
- XPathAncestorQuery.cs
- ClientSponsor.cs
- SqlExpander.cs
- LinqDataSource.cs
- ListViewInsertionMark.cs
- XmlComplianceUtil.cs
- Substitution.cs
- EnumUnknown.cs
- RequiredFieldValidator.cs
- RemoteTokenFactory.cs
- SystemColors.cs
- VisualStateGroup.cs