Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / WebControls / WizardStepCollectionEditor.cs / 1 / WizardStepCollectionEditor.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.WebControls { using System; using System.Collections; using System.Design; using System.Reflection; using System.ComponentModel; using System.ComponentModel.Design; using System.Web.UI.WebControls; ////// /// [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] public class WizardStepCollectionEditor : CollectionEditor { ///Provides an editor to edit wizardsteps in a Wizard. ////// /// public WizardStepCollectionEditor(Type type) : base(type) { } ///Initializes a new instance of the ///class. /// /// protected override bool CanSelectMultipleInstances() { return false; } protected override CollectionForm CreateCollectionForm() { CollectionForm form = base.CreateCollectionForm(); form.Text = SR.GetString(SR.CollectionEditorCaption, "WizardStep"); return form; } ///Gets a value indicating whether multiple instances may be selected. ////// /// protected override object CreateInstance(Type itemType) { return Activator.CreateInstance(itemType, BindingFlags.Instance | BindingFlags.Public | BindingFlags.CreateInstance, null, null, null); } ///[To be supplied.] ////// /// Retrieves the data types this collection can contain. The default /// implementation looks inside of the collection for the Item property /// and returns the returning datatype of the item. Do not call this /// method directly. Instead, use the ItemTypes property. Use this /// method to override the default implementation. /// protected override Type[] CreateNewItemTypes() { return new Type[] { typeof(WizardStep), typeof(TemplatedWizardStep) }; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Schema.cs
- HostProtectionException.cs
- ConfigXmlCDataSection.cs
- TextClipboardData.cs
- FixedTextView.cs
- DataViewManager.cs
- MergePropertyDescriptor.cs
- SystemInfo.cs
- EmptyEnumerator.cs
- SqlClientWrapperSmiStreamChars.cs
- PieceNameHelper.cs
- PackWebRequestFactory.cs
- ServicePointManagerElement.cs
- DocumentSequence.cs
- SqlCharStream.cs
- Privilege.cs
- QueryCacheEntry.cs
- TdsParserHelperClasses.cs
- DefaultHttpHandler.cs
- TreeChangeInfo.cs
- Vector3D.cs
- PerformanceCounter.cs
- XmlAttributes.cs
- XmlIlVisitor.cs
- QuadraticBezierSegment.cs
- ConnectionOrientedTransportChannelFactory.cs
- FunctionImportMapping.cs
- ConfigXmlCDataSection.cs
- OrderedDictionaryStateHelper.cs
- XmlTextEncoder.cs
- SparseMemoryStream.cs
- SqlErrorCollection.cs
- XmlAtomicValue.cs
- ResourceContainer.cs
- FrameworkElement.cs
- InteropExecutor.cs
- InputReportEventArgs.cs
- Label.cs
- Double.cs
- Listbox.cs
- NullableDecimalSumAggregationOperator.cs
- LZCodec.cs
- userdatakeys.cs
- ResourceDisplayNameAttribute.cs
- Attributes.cs
- EdmEntityTypeAttribute.cs
- XamlTreeBuilder.cs
- DbConnectionOptions.cs
- QilValidationVisitor.cs
- ComNativeDescriptor.cs
- CollectionViewGroupInternal.cs
- SerializationSectionGroup.cs
- ResourcePermissionBase.cs
- TextEditor.cs
- DispatchWrapper.cs
- RenderOptions.cs
- ReadOnlyPermissionSet.cs
- FileDialogCustomPlacesCollection.cs
- OpacityConverter.cs
- VisualCollection.cs
- WindowsGrip.cs
- DrawingBrush.cs
- filewebrequest.cs
- RewritingValidator.cs
- Pkcs7Signer.cs
- DomainConstraint.cs
- DataBoundControlHelper.cs
- RectangleF.cs
- PrinterUnitConvert.cs
- ModelItemKeyValuePair.cs
- HttpContextWrapper.cs
- SqlSelectStatement.cs
- NetCodeGroup.cs
- SystemNetworkInterface.cs
- BitmapEffectInputConnector.cs
- peernodestatemanager.cs
- GACIdentityPermission.cs
- PackageController.cs
- XdrBuilder.cs
- _BasicClient.cs
- TextRange.cs
- TypeExtensionConverter.cs
- StoragePropertyMapping.cs
- EditBehavior.cs
- MULTI_QI.cs
- DataGridViewEditingControlShowingEventArgs.cs
- RpcCryptoRequest.cs
- RowToFieldTransformer.cs
- WindowsFormsSectionHandler.cs
- SslStreamSecurityBindingElement.cs
- HttpCookie.cs
- WindowClosedEventArgs.cs
- ChameleonKey.cs
- CaseInsensitiveComparer.cs
- DataKey.cs
- DragStartedEventArgs.cs
- PolyLineSegment.cs
- FontWeightConverter.cs
- XmlSchemaAll.cs
- PropertiesTab.cs