Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / UI / WebControls / MenuEventArgs.cs / 5 / MenuEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class MenuEventArgs : CommandEventArgs { private MenuItem _item; private object _commandSource; public MenuEventArgs(MenuItem item, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { _item = item; _commandSource = commandSource; } public MenuEventArgs(MenuItem item) : this(item, null, new CommandEventArgs(String.Empty, null)) { } public object CommandSource { get { return _commandSource; } } public MenuItem Item { get { return _item; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class MenuEventArgs : CommandEventArgs { private MenuItem _item; private object _commandSource; public MenuEventArgs(MenuItem item, object commandSource, CommandEventArgs originalArgs) : base(originalArgs) { _item = item; _commandSource = commandSource; } public MenuEventArgs(MenuItem item) : this(item, null, new CommandEventArgs(String.Empty, null)) { } public object CommandSource { get { return _commandSource; } } public MenuItem Item { get { return _item; } } } } // 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
- CustomWebEventKey.cs
- ServiceMetadataPublishingElement.cs
- ClickablePoint.cs
- MimeFormatExtensions.cs
- _ListenerAsyncResult.cs
- GroupLabel.cs
- TextEditorTables.cs
- HttpHeaderCollection.cs
- SortFieldComparer.cs
- XmlSchemaImporter.cs
- KoreanCalendar.cs
- BindingElementCollection.cs
- TypeExtensionSerializer.cs
- InstanceHandleReference.cs
- Root.cs
- ControlParameter.cs
- ChangeNode.cs
- SqlCommandSet.cs
- HotSpot.cs
- DataServiceResponse.cs
- EntityModelSchemaGenerator.cs
- BorderGapMaskConverter.cs
- WindowsPen.cs
- ScriptResourceInfo.cs
- PersonalizationStateInfoCollection.cs
- BreakSafeBase.cs
- LoginView.cs
- DataRow.cs
- AtomContentProperty.cs
- HtmlMobileTextWriter.cs
- SelectionHighlightInfo.cs
- AmbientValueAttribute.cs
- SQLSingleStorage.cs
- BigInt.cs
- DBAsyncResult.cs
- ColumnWidthChangedEvent.cs
- Point4D.cs
- TitleStyle.cs
- CellTreeNode.cs
- CallSiteBinder.cs
- AbstractExpressions.cs
- EventDescriptor.cs
- TrackingLocation.cs
- ExceptionHelpers.cs
- DataGridPreparingCellForEditEventArgs.cs
- MenuCommands.cs
- _UriTypeConverter.cs
- ResizeGrip.cs
- StrongNamePublicKeyBlob.cs
- RuleDefinitions.cs
- FixedTextBuilder.cs
- XXXOnTypeBuilderInstantiation.cs
- UpdateExpressionVisitor.cs
- DataGridViewCellStyle.cs
- TextEndOfSegment.cs
- ExceptionValidationRule.cs
- ImageIndexConverter.cs
- TimelineCollection.cs
- SqlNotificationEventArgs.cs
- FixedSOMPage.cs
- PenCursorManager.cs
- RawStylusActions.cs
- WindowsListViewGroupSubsetLink.cs
- NameValueConfigurationCollection.cs
- FileAuthorizationModule.cs
- SiteOfOriginContainer.cs
- Rectangle.cs
- HuffCodec.cs
- VirtualDirectoryMappingCollection.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- DataColumnPropertyDescriptor.cs
- BeginGetFileNameFromUserRequest.cs
- DetailsViewRowCollection.cs
- TextTreeRootTextBlock.cs
- HostedHttpTransportManager.cs
- ToolStripOverflowButton.cs
- ButtonFieldBase.cs
- ScrollData.cs
- PropertyPathConverter.cs
- RequestBringIntoViewEventArgs.cs
- XmlSchemaAny.cs
- DbProviderSpecificTypePropertyAttribute.cs
- XmlKeywords.cs
- WorkflowPersistenceService.cs
- KnownIds.cs
- ArrayElementGridEntry.cs
- TemplateBaseAction.cs
- ToggleButton.cs
- Translator.cs
- FeatureAttribute.cs
- DelegatingConfigHost.cs
- ListViewHitTestInfo.cs
- EnumUnknown.cs
- RoutedUICommand.cs
- SqlFunctionAttribute.cs
- OpacityConverter.cs
- Column.cs
- Oid.cs
- DataPagerCommandEventArgs.cs
- QueryFunctions.cs