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
- CheckBox.cs
- GZipStream.cs
- DateTime.cs
- RootProfilePropertySettingsCollection.cs
- WsdlHelpGeneratorElement.cs
- TypeConverter.cs
- DtrList.cs
- Deserializer.cs
- UTF8Encoding.cs
- Expressions.cs
- HtmlElementCollection.cs
- AttributeCollection.cs
- Pair.cs
- SetMemberBinder.cs
- SuppressIldasmAttribute.cs
- XmlHierarchicalEnumerable.cs
- StateWorkerRequest.cs
- CharConverter.cs
- ResourceReferenceExpression.cs
- ValidationEventArgs.cs
- DoubleLinkList.cs
- MessageRpc.cs
- SpellerStatusTable.cs
- AxisAngleRotation3D.cs
- ScrollContentPresenter.cs
- SingletonInstanceContextProvider.cs
- AsyncPostBackErrorEventArgs.cs
- MdImport.cs
- CommandDevice.cs
- FlowLayoutPanelDesigner.cs
- ActivityTrace.cs
- MimeTypeMapper.cs
- TemplateXamlParser.cs
- DataGridViewColumnStateChangedEventArgs.cs
- BamlTreeNode.cs
- ParsedAttributeCollection.cs
- ElementNotEnabledException.cs
- PlainXmlDeserializer.cs
- SqlLiftWhereClauses.cs
- AttachmentCollection.cs
- ReaderWriterLockWrapper.cs
- ErrorFormatter.cs
- DataGridCellAutomationPeer.cs
- Vector3DConverter.cs
- TriState.cs
- Vector3DValueSerializer.cs
- VerticalAlignConverter.cs
- LoadWorkflowAsyncResult.cs
- Bezier.cs
- SmtpNtlmAuthenticationModule.cs
- IxmlLineInfo.cs
- GenericEnumerator.cs
- SuppressMessageAttribute.cs
- PlaceHolder.cs
- ChangeDirector.cs
- PeerNameRegistration.cs
- CheckBoxAutomationPeer.cs
- DataGridViewDataErrorEventArgs.cs
- SecurityResources.cs
- CqlGenerator.cs
- SpeakCompletedEventArgs.cs
- LogicalExpr.cs
- ComplusEndpointConfigContainer.cs
- CommonProperties.cs
- PathSegmentCollection.cs
- FigureParaClient.cs
- HttpHandlerAction.cs
- ColorBlend.cs
- OdbcDataAdapter.cs
- CombinedGeometry.cs
- RadioButtonList.cs
- TypeInfo.cs
- DiagnosticsConfigurationHandler.cs
- ToolStripEditorManager.cs
- PropertyDescriptors.cs
- TextFragmentEngine.cs
- KerberosRequestorSecurityTokenAuthenticator.cs
- ThicknessAnimationUsingKeyFrames.cs
- XmlDataSourceView.cs
- HttpClientCertificate.cs
- SecurityDocument.cs
- SafeCancelMibChangeNotify.cs
- Operators.cs
- propertytag.cs
- InvalidComObjectException.cs
- ComponentResourceKey.cs
- LabelLiteral.cs
- EncodingTable.cs
- AuthenticationManager.cs
- AttachedAnnotationChangedEventArgs.cs
- CompatibleComparer.cs
- DataBoundControlHelper.cs
- Icon.cs
- HttpRawResponse.cs
- GenericUriParser.cs
- IProvider.cs
- ObjectDataSourceChooseTypePanel.cs
- SrgsDocumentParser.cs
- ChangePassword.cs
- TypeEnumerableViewSchema.cs