Code:
/ 4.0 / 4.0 / untmp / 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. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SmtpLoginAuthenticationModule.cs
- SystemIPInterfaceProperties.cs
- HttpStreamXmlDictionaryWriter.cs
- DesignerDeviceConfig.cs
- Visual3D.cs
- SafeArchiveContext.cs
- IxmlLineInfo.cs
- SqlFileStream.cs
- ConstraintCollection.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- ThrowHelper.cs
- PointIndependentAnimationStorage.cs
- MDIClient.cs
- TextureBrush.cs
- SiteMapDesignerDataSourceView.cs
- TreeNodeStyle.cs
- RuleSettingsCollection.cs
- grammarelement.cs
- ImageClickEventArgs.cs
- EntityDataSourceDataSelectionPanel.cs
- SpecularMaterial.cs
- XhtmlTextWriter.cs
- querybuilder.cs
- Color.cs
- IxmlLineInfo.cs
- RequestStatusBarUpdateEventArgs.cs
- ChannelServices.cs
- RsaKeyGen.cs
- SingleBodyParameterMessageFormatter.cs
- externdll.cs
- TriggerCollection.cs
- PageContentCollection.cs
- MediaElement.cs
- SwitchCase.cs
- ParallelEnumerableWrapper.cs
- QilParameter.cs
- StateDesignerConnector.cs
- ImageMap.cs
- PackageProperties.cs
- IsolationInterop.cs
- CaseDesigner.xaml.cs
- Lease.cs
- DynamicILGenerator.cs
- ChtmlCalendarAdapter.cs
- DragEventArgs.cs
- XmlSchemaSimpleContentRestriction.cs
- SelectionRangeConverter.cs
- HtmlHead.cs
- WeakHashtable.cs
- ContextToken.cs
- SerialStream.cs
- StateDesigner.cs
- SID.cs
- XamlBrushSerializer.cs
- SqlClientPermission.cs
- TableLayoutStyleCollection.cs
- IIS7WorkerRequest.cs
- shaperfactory.cs
- StrokeCollectionDefaultValueFactory.cs
- LassoHelper.cs
- SdlChannelSink.cs
- EnumValAlphaComparer.cs
- RowsCopiedEventArgs.cs
- CqlParser.cs
- _BufferOffsetSize.cs
- CustomExpressionEventArgs.cs
- GrammarBuilderRuleRef.cs
- CompoundFileStreamReference.cs
- ConstructorNeedsTagAttribute.cs
- InternalTypeHelper.cs
- oledbmetadatacolumnnames.cs
- StreamInfo.cs
- SqlMetaData.cs
- XPathNodeIterator.cs
- VBCodeProvider.cs
- COM2IDispatchConverter.cs
- XmlSchemaAll.cs
- Int32Rect.cs
- DataGridViewBindingCompleteEventArgs.cs
- ReadOnlyAttribute.cs
- WebPartDisplayModeCancelEventArgs.cs
- DesignerSerializationOptionsAttribute.cs
- SerialStream.cs
- Semaphore.cs
- ConfigurationConverterBase.cs
- ClosureBinding.cs
- PackWebRequestFactory.cs
- _SecureChannel.cs
- Application.cs
- ImmutableAssemblyCacheEntry.cs
- WebBrowserPermission.cs
- SelectionEditingBehavior.cs
- ContextMenuService.cs
- EventMappingSettingsCollection.cs
- ObjectMemberMapping.cs
- MediaContext.cs
- ResourceIDHelper.cs
- ContextStaticAttribute.cs
- ContainerVisual.cs
- InvalidCastException.cs