Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / InstanceCreationEditor.cs / 1305376 / InstanceCreationEditor.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel { using Microsoft.Win32; using System.Collections; using System.ComponentModel.Design.Serialization; using System.Diagnostics; using System.Globalization; using System.Runtime.Serialization.Formatters; using System.Runtime.Remoting; using System.Runtime.InteropServices; using System.Security.Permissions; ////// An InstanceCreationEditor allows the user to create an instance of a particular type of property from a dropdown /// Within the PropertyGrid. Usually, the text specified by InstanceCreationEditor.Text will be displayed on the /// dropdown from the PropertyGrid as a link or button. When clicked, the InstanceCreationEditor.CreateInstance /// method will be called with the Type of the object to create. /// [HostProtection(SharedState = true)] public abstract class InstanceCreationEditor { ////// public virtual string Text { get { return SR.GetString(SR.InstanceCreationEditorDefaultText); } } ////// This method is invoked when you user chooses the link displayed by the PropertyGrid for the InstanceCreationEditor. /// The object returned from this method must be an instance of the specified type, or null in which case the editor will do nothing. /// /// public abstract object CreateInstance(ITypeDescriptorContext context, Type instanceType); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridViewDataErrorEventArgs.cs
- AtomMaterializerLog.cs
- Int32Rect.cs
- DragEvent.cs
- PTProvider.cs
- XhtmlConformanceSection.cs
- TabletCollection.cs
- CodeCompileUnit.cs
- XslTransform.cs
- WebBrowser.cs
- CompModSwitches.cs
- ParserContext.cs
- _FtpDataStream.cs
- ActivityExecutorDelegateInfo.cs
- DbConnectionInternal.cs
- TextFindEngine.cs
- URL.cs
- WmpBitmapDecoder.cs
- _LoggingObject.cs
- ErrorFormatterPage.cs
- OrderablePartitioner.cs
- OdbcEnvironment.cs
- DES.cs
- FactoryId.cs
- unitconverter.cs
- SafeEventLogWriteHandle.cs
- ObjectMemberMapping.cs
- BreakRecordTable.cs
- BamlReader.cs
- TaskScheduler.cs
- OperationFormatStyle.cs
- DetailsViewAutoFormat.cs
- XmlElement.cs
- ScaleTransform3D.cs
- TextSelection.cs
- SafeTimerHandle.cs
- CngKeyCreationParameters.cs
- ItemsPanelTemplate.cs
- BuildResultCache.cs
- webclient.cs
- FontWeights.cs
- DefaultPropertiesToSend.cs
- EditingCoordinator.cs
- DesignerCalendarAdapter.cs
- SamlSecurityTokenAuthenticator.cs
- AssemblyFilter.cs
- DataRow.cs
- CompareValidator.cs
- EnlistmentState.cs
- ScriptingSectionGroup.cs
- ConnectionManagementElementCollection.cs
- SymbolType.cs
- CustomCategoryAttribute.cs
- StateManagedCollection.cs
- TransformPatternIdentifiers.cs
- Bezier.cs
- FlowLayoutPanel.cs
- XmlConvert.cs
- SelectedGridItemChangedEvent.cs
- ColumnMapVisitor.cs
- TransformValueSerializer.cs
- XmlAnyElementAttribute.cs
- GreaterThanOrEqual.cs
- CodeEntryPointMethod.cs
- ChangeTracker.cs
- RadioButtonList.cs
- OpacityConverter.cs
- TextModifier.cs
- SafeNativeMethodsOther.cs
- Emitter.cs
- Button.cs
- NetMsmqSecurity.cs
- RecoverInstanceLocksCommand.cs
- RouteCollection.cs
- EntityProviderServices.cs
- Lease.cs
- TextTreeRootTextBlock.cs
- Debugger.cs
- TransformedBitmap.cs
- DbProviderFactories.cs
- ErrorRuntimeConfig.cs
- MsmqInputChannelBase.cs
- DispatchChannelSink.cs
- BitSet.cs
- QilTargetType.cs
- DbExpressionVisitor.cs
- NativeMethods.cs
- AstTree.cs
- autovalidator.cs
- RadioButtonBaseAdapter.cs
- RegisteredArrayDeclaration.cs
- MetafileHeader.cs
- base64Transforms.cs
- InvokeBase.cs
- InvokeGenerator.cs
- RelationshipEndCollection.cs
- ParserOptions.cs
- DataTableNameHandler.cs
- RsaKeyIdentifierClause.cs
- WindowsSlider.cs