Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CommonUI / System / Drawing / Design / PropertyValueUIItem.cs / 1 / PropertyValueUIItem.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Drawing.Design { using System.Diagnostics; using Microsoft.Win32; using System.Collections; using System.Drawing; ////// /// [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class PropertyValueUIItem { ///Provides information about the property value UI including the invoke /// handler, tool tip, and the glyph icon to be displayed on the property /// browser. ////// /// The image to display for this. Must be 8x8 /// private Image itemImage; ////// /// The handler to fire if this item is double clicked. /// private PropertyValueUIItemInvokeHandler handler; ////// /// The tooltip for this item. /// private string tooltip; ////// /// public PropertyValueUIItem(Image uiItemImage, PropertyValueUIItemInvokeHandler handler, string tooltip){ this.itemImage = uiItemImage; this.handler = handler; if (itemImage == null) { throw new ArgumentNullException("uiItemImage"); } if (handler == null) { throw new ArgumentNullException("handler"); } this.tooltip = tooltip; } ///Initiailzes a new instance of the ///class. /// /// public virtual Image Image { get { return itemImage; } } ///Gets or sets /// the 8x8 pixel image that will be drawn on the properties window. ////// /// public virtual PropertyValueUIItemInvokeHandler InvokeHandler { get { return handler; } } ///Gets or sets the handler that will be raised when this item is double clicked. ////// /// public virtual string ToolTip { get { return tooltip; } } ///Gets or sets the /// tool tip to display for this item. ////// /// public virtual void Reset(){ } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Resets the UI item. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Drawing.Design { using System.Diagnostics; using Microsoft.Win32; using System.Collections; using System.Drawing; ////// /// [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")] [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")] public class PropertyValueUIItem { ///Provides information about the property value UI including the invoke /// handler, tool tip, and the glyph icon to be displayed on the property /// browser. ////// /// The image to display for this. Must be 8x8 /// private Image itemImage; ////// /// The handler to fire if this item is double clicked. /// private PropertyValueUIItemInvokeHandler handler; ////// /// The tooltip for this item. /// private string tooltip; ////// /// public PropertyValueUIItem(Image uiItemImage, PropertyValueUIItemInvokeHandler handler, string tooltip){ this.itemImage = uiItemImage; this.handler = handler; if (itemImage == null) { throw new ArgumentNullException("uiItemImage"); } if (handler == null) { throw new ArgumentNullException("handler"); } this.tooltip = tooltip; } ///Initiailzes a new instance of the ///class. /// /// public virtual Image Image { get { return itemImage; } } ///Gets or sets /// the 8x8 pixel image that will be drawn on the properties window. ////// /// public virtual PropertyValueUIItemInvokeHandler InvokeHandler { get { return handler; } } ///Gets or sets the handler that will be raised when this item is double clicked. ////// /// public virtual string ToolTip { get { return tooltip; } } ///Gets or sets the /// tool tip to display for this item. ////// /// public virtual void Reset(){ } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Resets the UI item. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DSASignatureDeformatter.cs
- ShaperBuffers.cs
- LocatorManager.cs
- GridSplitterAutomationPeer.cs
- DatePickerDateValidationErrorEventArgs.cs
- Control.cs
- RuntimeVariableList.cs
- mediaeventshelper.cs
- LinkGrep.cs
- ItemCollection.cs
- DuplicateDetector.cs
- DbConnectionPool.cs
- Material.cs
- FlowLayoutSettings.cs
- CodeDefaultValueExpression.cs
- Renderer.cs
- CompiledAction.cs
- ExpressionNormalizer.cs
- FileEnumerator.cs
- SimpleWebHandlerParser.cs
- HostedBindingBehavior.cs
- CodeMethodMap.cs
- AuthorizationSection.cs
- MeasureData.cs
- FixedTextView.cs
- CodeIterationStatement.cs
- TypeDescriptionProvider.cs
- XmlSerializerVersionAttribute.cs
- SoapIncludeAttribute.cs
- InputProcessorProfilesLoader.cs
- behaviorssection.cs
- DataServiceOperationContext.cs
- SoapElementAttribute.cs
- UnionCqlBlock.cs
- EUCJPEncoding.cs
- ConditionalBranch.cs
- HtmlShimManager.cs
- TransportBindingElement.cs
- HiddenField.cs
- IgnoreSection.cs
- _HelperAsyncResults.cs
- ColumnCollectionEditor.cs
- TextChange.cs
- OracleInfoMessageEventArgs.cs
- UrlMappingCollection.cs
- PhysicalAddress.cs
- FileStream.cs
- OdbcUtils.cs
- ConfigXmlComment.cs
- KeyInterop.cs
- MLangCodePageEncoding.cs
- CFGGrammar.cs
- SystemTcpConnection.cs
- SqlUserDefinedTypeAttribute.cs
- SecurityTokenParameters.cs
- TableProviderWrapper.cs
- PresentationAppDomainManager.cs
- StrokeSerializer.cs
- GridViewRow.cs
- FolderBrowserDialogDesigner.cs
- ExtenderProvidedPropertyAttribute.cs
- BulletedListEventArgs.cs
- AutoGeneratedFieldProperties.cs
- CollectionChangeEventArgs.cs
- RawStylusActions.cs
- Boolean.cs
- MetadataItemEmitter.cs
- DocumentPageTextView.cs
- CheckBox.cs
- KeyTimeConverter.cs
- CompilationPass2TaskInternal.cs
- NameValueSectionHandler.cs
- ItemChangedEventArgs.cs
- Attributes.cs
- ParallelTimeline.cs
- WebAdminConfigurationHelper.cs
- KerberosSecurityTokenProvider.cs
- RectangleF.cs
- BamlTreeNode.cs
- EnumBuilder.cs
- SiteMapDataSource.cs
- TrustManager.cs
- AutomationAttributeInfo.cs
- MethodResolver.cs
- SByteConverter.cs
- SmiMetaData.cs
- TabletDevice.cs
- baseshape.cs
- AsymmetricSignatureDeformatter.cs
- Page.cs
- DoubleUtil.cs
- DesignRelationCollection.cs
- MembershipSection.cs
- EventInfo.cs
- Psha1DerivedKeyGenerator.cs
- Wildcard.cs
- InstanceKeyCollisionException.cs
- HttpWebResponse.cs
- ModuleBuilder.cs
- SynchronizationHandlesCodeDomSerializer.cs