Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / MIT / System / Web / UI / MobileControls / Design / ObjectListComponentEditor.cs / 1305376 / ObjectListComponentEditor.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.MobileControls { using System; using System.ComponentModel; using System.Diagnostics; using System.Web.UI.MobileControls; using System.Windows.Forms.Design; ////// ////// Provides a component editor for a Mobile ObjectList ////// control. /// /// [ 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 ObjectListComponentEditor : BaseTemplatedMobileComponentEditor { // The set of pages used within the ObjectList ComponentEditor private static Type[] _editorPages = new Type[] { typeof(ObjectListGeneralPage), typeof(ObjectListCommandsPage), typeof(ObjectListFieldsPage) }; internal const int IDX_GENERAL = 0; internal const int IDX_COMMANDS = 1; internal const int IDX_FIELDS = 2; /// /// public ObjectListComponentEditor() : this(IDX_GENERAL) { } ////// Initializes a new instance of ///. /// /// /// /// The index of the initial page. /// public ObjectListComponentEditor(int initialPage) : base(initialPage) { } ////// Initializes a new instance of ///. /// /// ////// Gets the set of all pages in the ////// . /// /// ////// An array consisting of the set of component editor pages. /// ////// protected override Type[] GetComponentEditorPages() { return _editorPages; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// This method may /// be overridden to change the set of pages to show. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.MobileControls { using System; using System.ComponentModel; using System.Diagnostics; using System.Web.UI.MobileControls; using System.Windows.Forms.Design; ////// ////// Provides a component editor for a Mobile ObjectList ////// control. /// /// [ 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 ObjectListComponentEditor : BaseTemplatedMobileComponentEditor { // The set of pages used within the ObjectList ComponentEditor private static Type[] _editorPages = new Type[] { typeof(ObjectListGeneralPage), typeof(ObjectListCommandsPage), typeof(ObjectListFieldsPage) }; internal const int IDX_GENERAL = 0; internal const int IDX_COMMANDS = 1; internal const int IDX_FIELDS = 2; /// /// public ObjectListComponentEditor() : this(IDX_GENERAL) { } ////// Initializes a new instance of ///. /// /// /// /// The index of the initial page. /// public ObjectListComponentEditor(int initialPage) : base(initialPage) { } ////// Initializes a new instance of ///. /// /// ////// Gets the set of all pages in the ////// . /// /// ////// An array consisting of the set of component editor pages. /// ////// protected override Type[] GetComponentEditorPages() { return _editorPages; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// This method may /// be overridden to change the set of pages to show. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WindowsListViewGroup.cs
- ListViewAutomationPeer.cs
- DataGridViewCellStyleConverter.cs
- DateTimeUtil.cs
- CommonDialog.cs
- AssociationSetMetadata.cs
- XmlDownloadManager.cs
- SystemIPInterfaceProperties.cs
- TabPanel.cs
- HandledMouseEvent.cs
- AsmxEndpointPickerExtension.cs
- NativeMethods.cs
- Partitioner.cs
- WeakReference.cs
- DataGridTablesFactory.cs
- SimpleModelProvider.cs
- AspNetHostingPermission.cs
- TransportContext.cs
- ButtonFlatAdapter.cs
- ScrollEvent.cs
- EventlogProvider.cs
- Panel.cs
- ObjectSpanRewriter.cs
- PageParserFilter.cs
- Point4D.cs
- MetadataUtilsSmi.cs
- SqlInternalConnectionTds.cs
- SiteMapNodeItemEventArgs.cs
- XmlSchemaSimpleContent.cs
- NativeMethods.cs
- CaseCqlBlock.cs
- TdsValueSetter.cs
- DefaultBindingPropertyAttribute.cs
- CardSpaceSelector.cs
- WindowsToolbar.cs
- DetailsViewRowCollection.cs
- XmlSchemaComplexContent.cs
- MinimizableAttributeTypeConverter.cs
- Filter.cs
- ExchangeUtilities.cs
- SimpleMailWebEventProvider.cs
- TextTreeText.cs
- DataListItemEventArgs.cs
- MarshalDirectiveException.cs
- Matrix3DValueSerializer.cs
- Timeline.cs
- GridViewAutomationPeer.cs
- RuntimeHelpers.cs
- ClientConfigurationHost.cs
- ContentHostHelper.cs
- SizeAnimationUsingKeyFrames.cs
- WebPartZoneCollection.cs
- SHA1Cng.cs
- SqlDataSourceFilteringEventArgs.cs
- CoTaskMemHandle.cs
- OptionUsage.cs
- GridViewUpdateEventArgs.cs
- EmptyQuery.cs
- SoapTypeAttribute.cs
- DataGridViewRowCancelEventArgs.cs
- TokenizerHelper.cs
- Wizard.cs
- XmlArrayItemAttribute.cs
- EventLogPermission.cs
- Bidi.cs
- KeyedPriorityQueue.cs
- ServiceOperation.cs
- InternalDuplexChannelListener.cs
- TreeNodeBindingCollection.cs
- ToolStripPanel.cs
- ObjectStateEntryDbDataRecord.cs
- DataServiceQueryProvider.cs
- SchemeSettingElementCollection.cs
- CachedRequestParams.cs
- DependencyObjectCodeDomSerializer.cs
- LineBreakRecord.cs
- OutgoingWebResponseContext.cs
- AttributeData.cs
- BehaviorDragDropEventArgs.cs
- UIAgentCrashedException.cs
- CFStream.cs
- DbConnectionStringCommon.cs
- SwitchLevelAttribute.cs
- CodeIndexerExpression.cs
- ScriptMethodAttribute.cs
- XmlLangPropertyAttribute.cs
- GetBrowserTokenRequest.cs
- CapabilitiesPattern.cs
- UniformGrid.cs
- ControlCachePolicy.cs
- SlipBehavior.cs
- ExpandCollapsePattern.cs
- EncodingInfo.cs
- SchemaTypeEmitter.cs
- OrderedDictionary.cs
- SeparatorAutomationPeer.cs
- SR.Designer.cs
- InstanceOwner.cs
- BitmapEffectDrawingContextWalker.cs
- DataGridViewAccessibleObject.cs