Code:
/ DotNET / DotNET / 8.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
- HandlerFactoryWrapper.cs
- Group.cs
- TemplateApplicationHelper.cs
- RelationshipFixer.cs
- ContractSearchPattern.cs
- CredentialCache.cs
- MinimizableAttributeTypeConverter.cs
- MetadataArtifactLoaderComposite.cs
- XmlSchemaSubstitutionGroup.cs
- StylusPointProperties.cs
- DATA_BLOB.cs
- Vector.cs
- Buffer.cs
- Choices.cs
- GroupQuery.cs
- EntitySqlQueryState.cs
- WinEventHandler.cs
- RunClient.cs
- UpDownBase.cs
- updateconfighost.cs
- PropertyChangedEventManager.cs
- RadioButtonList.cs
- WebBrowserPermission.cs
- ReadOnlyDictionary.cs
- XmlNodeWriter.cs
- AsyncSerializedWorker.cs
- HttpWebRequestElement.cs
- ToolStripDropDownClosingEventArgs.cs
- GridSplitterAutomationPeer.cs
- DialogWindow.cs
- CodeTypeReferenceCollection.cs
- Quad.cs
- CfgParser.cs
- EventLogPermissionEntryCollection.cs
- PackagingUtilities.cs
- TableHeaderCell.cs
- FunctionImportElement.cs
- PolyLineSegmentFigureLogic.cs
- WebPartCatalogAddVerb.cs
- TreeWalker.cs
- UIntPtr.cs
- Latin1Encoding.cs
- RenderingEventArgs.cs
- ImportOptions.cs
- Point3DCollectionConverter.cs
- ToolStripItemGlyph.cs
- DecoratedNameAttribute.cs
- DataGridParentRows.cs
- QueryOpeningEnumerator.cs
- CompositeCollection.cs
- ButtonBaseAutomationPeer.cs
- updatecommandorderer.cs
- StopStoryboard.cs
- TagPrefixAttribute.cs
- altserialization.cs
- WsiProfilesElementCollection.cs
- MultiPartWriter.cs
- NoResizeSelectionBorderGlyph.cs
- SqlClientWrapperSmiStream.cs
- TextEditorCharacters.cs
- SrgsToken.cs
- IisTraceWebEventProvider.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- PlanCompiler.cs
- ExternalException.cs
- Currency.cs
- CharEnumerator.cs
- UriScheme.cs
- Enlistment.cs
- DeleteHelper.cs
- WpfGeneratedKnownProperties.cs
- MetaTable.cs
- ResourceCategoryAttribute.cs
- TextBox.cs
- NonVisualControlAttribute.cs
- FileRecordSequence.cs
- SQLSingle.cs
- Util.cs
- DoubleSumAggregationOperator.cs
- TreeNodeCollection.cs
- ComponentDesigner.cs
- SeparatorAutomationPeer.cs
- DirectoryGroupQuery.cs
- CompilerGeneratedAttribute.cs
- TextDocumentView.cs
- ThemeInfoAttribute.cs
- EventDescriptor.cs
- Triangle.cs
- DataGridViewImageColumn.cs
- SequenceQuery.cs
- ImageSourceValueSerializer.cs
- DbConnectionFactory.cs
- CodePrimitiveExpression.cs
- BindingCollection.cs
- CodeAssignStatement.cs
- AuthenticatingEventArgs.cs
- base64Transforms.cs
- WindowsTreeView.cs
- MiniConstructorInfo.cs
- GroupBoxRenderer.cs