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
- ConnectorDragDropGlyph.cs
- TemplateBindingExtension.cs
- UnknownBitmapDecoder.cs
- RuntimeIdentifierPropertyAttribute.cs
- PackWebResponse.cs
- MethodBuilderInstantiation.cs
- EventPropertyMap.cs
- ZipIOExtraFieldZip64Element.cs
- GridViewCellAutomationPeer.cs
- HostSecurityManager.cs
- MenuRendererStandards.cs
- SystemTcpStatistics.cs
- Int32AnimationBase.cs
- DataPagerField.cs
- DispatcherSynchronizationContext.cs
- ToolStripLocationCancelEventArgs.cs
- SourceElementsCollection.cs
- SetStoryboardSpeedRatio.cs
- MenuItemCollectionEditor.cs
- RSAOAEPKeyExchangeFormatter.cs
- CommandID.cs
- HttpCapabilitiesBase.cs
- DynamicDataManager.cs
- TransformPattern.cs
- UrlAuthorizationModule.cs
- XmlSchemaComplexContentExtension.cs
- ClientScriptManagerWrapper.cs
- InputMethodStateTypeInfo.cs
- ImageFormatConverter.cs
- RadioButtonAutomationPeer.cs
- HttpServerUtilityBase.cs
- SQLInt16Storage.cs
- ToggleButton.cs
- WebPartCloseVerb.cs
- ImportContext.cs
- BaseDataList.cs
- ParallelTimeline.cs
- BasicViewGenerator.cs
- ClientScriptManager.cs
- OdbcConnectionHandle.cs
- TimeSpanSecondsConverter.cs
- StringWriter.cs
- HttpApplication.cs
- DbConnectionOptions.cs
- MatrixConverter.cs
- DockPanel.cs
- MergablePropertyAttribute.cs
- SplitterEvent.cs
- TableItemStyle.cs
- DataGridViewIntLinkedList.cs
- CodeTypeOfExpression.cs
- TransformDescriptor.cs
- DoubleCollectionValueSerializer.cs
- RawAppCommandInputReport.cs
- CachedFontFace.cs
- StrongName.cs
- LineGeometry.cs
- XmlSchemaDocumentation.cs
- PropertyEmitter.cs
- SqlUtils.cs
- XmlAttribute.cs
- ManifestResourceInfo.cs
- ListViewInsertedEventArgs.cs
- FixedSOMPage.cs
- SmiContextFactory.cs
- ScrollItemPatternIdentifiers.cs
- FixedSOMPage.cs
- UpdateExpressionVisitor.cs
- CapabilitiesAssignment.cs
- NumberSubstitution.cs
- RouteData.cs
- TriggerCollection.cs
- BinaryUtilClasses.cs
- DataColumnMappingCollection.cs
- GroupLabel.cs
- ValueConversionAttribute.cs
- EncoderExceptionFallback.cs
- UiaCoreProviderApi.cs
- GraphicsPath.cs
- Rect.cs
- SqlError.cs
- RowUpdatingEventArgs.cs
- HttpContext.cs
- odbcmetadatafactory.cs
- _CommandStream.cs
- Underline.cs
- BadImageFormatException.cs
- Tokenizer.cs
- XmlSchemas.cs
- SessionEndingEventArgs.cs
- DmlSqlGenerator.cs
- PauseStoryboard.cs
- TraceContextRecord.cs
- RotateTransform3D.cs
- SchemaNames.cs
- MarshalByRefObject.cs
- ServicePointManager.cs
- RelativeSource.cs
- CommandTreeTypeHelper.cs
- IWorkflowDebuggerService.cs