Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / MIT / System / Web / UI / MobileControls / Design / MobileUITypeEditor.cs / 1305376 / MobileUITypeEditor.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.MobileControls { using System; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Drawing.Design; using System.Diagnostics; ////// [ System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) ] [Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")] internal class MobileUITypeEditor : UITypeEditor { protected ControlDesigner GetDesigner(ITypeDescriptorContext context) { IDesignerHost designerHost = (IDesignerHost)context.GetService(typeof(IDesignerHost)); Debug.Assert(designerHost != null, "Did not get DesignerHost service."); Debug.Assert(context.Instance is Control, "Expected Control"); Control control = (Control)context.Instance; ControlDesigner designer = (ControlDesigner)designerHost.GetDesigner(control); Debug.Assert(designer != null, "Did not get designer for component"); return designer; } ////// The editor for column collections. /// ////// /// /// An/// Gets the edit style. /// ///that specifies the associated context. /// /// /// public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext context) { return UITypeEditorEditStyle.Modal; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// A ///that represents the edit style. /// // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.MobileControls { using System; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Drawing.Design; using System.Diagnostics; ////// [ System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) ] [Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")] internal class MobileUITypeEditor : UITypeEditor { protected ControlDesigner GetDesigner(ITypeDescriptorContext context) { IDesignerHost designerHost = (IDesignerHost)context.GetService(typeof(IDesignerHost)); Debug.Assert(designerHost != null, "Did not get DesignerHost service."); Debug.Assert(context.Instance is Control, "Expected Control"); Control control = (Control)context.Instance; ControlDesigner designer = (ControlDesigner)designerHost.GetDesigner(control); Debug.Assert(designer != null, "Did not get designer for component"); return designer; } ////// The editor for column collections. /// ////// /// /// An/// Gets the edit style. /// ///that specifies the associated context. /// /// /// public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext context) { return UITypeEditorEditStyle.Modal; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// A ///that represents the edit style. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataSourceXmlSerializer.cs
- RoutedCommand.cs
- Icon.cs
- ClientBuildManager.cs
- ExpandCollapsePattern.cs
- tabpagecollectioneditor.cs
- ErrorRuntimeConfig.cs
- ImageField.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- DataGridViewRowConverter.cs
- WinOEToolBoxItem.cs
- X509CertificateChain.cs
- AsyncStreamReader.cs
- CompoundFileStreamReference.cs
- SecurityTokenException.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- StringKeyFrameCollection.cs
- XmlWriterTraceListener.cs
- WebConfigurationFileMap.cs
- NullableLongAverageAggregationOperator.cs
- PrimaryKeyTypeConverter.cs
- ContextBase.cs
- XPathScanner.cs
- WebPartZoneBase.cs
- TickBar.cs
- EastAsianLunisolarCalendar.cs
- DataGridComponentEditor.cs
- Conditional.cs
- TextBounds.cs
- ToolStripPanel.cs
- TypeContext.cs
- PtsHelper.cs
- GregorianCalendarHelper.cs
- ConfigurationPropertyCollection.cs
- RelatedCurrencyManager.cs
- LocationUpdates.cs
- LineInfo.cs
- TypedRowGenerator.cs
- DrawToolTipEventArgs.cs
- RectAnimation.cs
- GradientStop.cs
- HttpServerVarsCollection.cs
- RequiredFieldValidator.cs
- DataGridViewMethods.cs
- NameGenerator.cs
- TemplateXamlTreeBuilder.cs
- CodeMethodReturnStatement.cs
- SerialReceived.cs
- PropertyIDSet.cs
- SimpleWorkerRequest.cs
- DataServiceProviderMethods.cs
- Inline.cs
- ParameterCollectionEditorForm.cs
- ExpressionBuilder.cs
- TreeChangeInfo.cs
- BulletedList.cs
- XmlIlVisitor.cs
- GatewayDefinition.cs
- CodeTypeMemberCollection.cs
- ClientUtils.cs
- FixedSOMContainer.cs
- CryptoStream.cs
- ContainerParagraph.cs
- Tile.cs
- ObfuscationAttribute.cs
- WebServiceResponseDesigner.cs
- FormattedText.cs
- XmlCompatibilityReader.cs
- Send.cs
- BindMarkupExtensionSerializer.cs
- SQLByte.cs
- CorruptingExceptionCommon.cs
- SQLBinary.cs
- LiteralSubsegment.cs
- BitmapEffectGroup.cs
- WebProxyScriptElement.cs
- WhitespaceRule.cs
- DataGridState.cs
- SqlTypesSchemaImporter.cs
- Peer.cs
- TraceSwitch.cs
- ApplicationFileParser.cs
- DataServiceExpressionVisitor.cs
- SettingsPropertyValueCollection.cs
- NotFiniteNumberException.cs
- OrderedDictionaryStateHelper.cs
- CodeAttachEventStatement.cs
- DecimalConverter.cs
- XPathMessageFilter.cs
- ALinqExpressionVisitor.cs
- XamlStackWriter.cs
- SourceItem.cs
- RegisteredHiddenField.cs
- DbConnectionPoolCounters.cs
- EditorPartChrome.cs
- PartitionerStatic.cs
- TextProperties.cs
- OciHandle.cs
- RootBrowserWindowAutomationPeer.cs
- ObjectStateFormatter.cs