Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / UI / WebControls / DataGridSortCommandEventArgs.cs / 1 / DataGridSortCommandEventArgs.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)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DataGridSortCommandEventArgs : EventArgs { private string sortExpression; private object commandSource; ///Provides data for the ///event of a . /// /// public DataGridSortCommandEventArgs(object commandSource, DataGridCommandEventArgs dce) { this.commandSource = commandSource; this.sortExpression = (string)dce.CommandArgument; } ///Initializes a new instance of the ///class. /// public object CommandSource { get { return commandSource; } } ///Gets the source of the command. This property is read-only. ////// public string SortExpression { get { return sortExpression; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets the expression used to sort. This property is read-only. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class DataGridSortCommandEventArgs : EventArgs { private string sortExpression; private object commandSource; ///Provides data for the ///event of a . /// /// public DataGridSortCommandEventArgs(object commandSource, DataGridCommandEventArgs dce) { this.commandSource = commandSource; this.sortExpression = (string)dce.CommandArgument; } ///Initializes a new instance of the ///class. /// public object CommandSource { get { return commandSource; } } ///Gets the source of the command. This property is read-only. ////// public string SortExpression { get { return sortExpression; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the expression used to sort. This property is read-only. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RadioButtonAutomationPeer.cs
- AtomPub10CategoriesDocumentFormatter.cs
- SingleResultAttribute.cs
- HtmlTextArea.cs
- WebPartCatalogAddVerb.cs
- SmiSettersStream.cs
- CodePageEncoding.cs
- IntellisenseTextBox.cs
- SingleQueryOperator.cs
- RootBuilder.cs
- SystemThemeKey.cs
- HttpTransportBindingElement.cs
- TextViewBase.cs
- ConfigXmlText.cs
- KeyedPriorityQueue.cs
- PermissionAttributes.cs
- HttpFileCollectionBase.cs
- MouseActionConverter.cs
- TypeListConverter.cs
- CodeMemberProperty.cs
- RegexReplacement.cs
- EmbeddedMailObject.cs
- iisPickupDirectory.cs
- RoleManagerEventArgs.cs
- UpdatePanelTrigger.cs
- RijndaelManagedTransform.cs
- CryptoApi.cs
- StrokeNodeEnumerator.cs
- JsonDeserializer.cs
- HwndSourceParameters.cs
- SafeHandles.cs
- DeviceSpecificChoice.cs
- DataGridRowDetailsEventArgs.cs
- ScrollViewer.cs
- WizardPanelChangingEventArgs.cs
- LoginView.cs
- DbProviderFactoriesConfigurationHandler.cs
- StagingAreaInputItem.cs
- XmlAttributeCache.cs
- RenderOptions.cs
- ReferenceEqualityComparer.cs
- DataGridState.cs
- NamespaceCollection.cs
- SoapSchemaMember.cs
- NativeMethods.cs
- SamlAttributeStatement.cs
- WindowsSolidBrush.cs
- MessagePropertyDescription.cs
- Visual3D.cs
- FormViewActionList.cs
- SelectionItemProviderWrapper.cs
- DetailsViewPagerRow.cs
- ActivityCodeDomSerializationManager.cs
- NativeMethodsOther.cs
- PropertySegmentSerializationProvider.cs
- BooleanKeyFrameCollection.cs
- ThreadNeutralSemaphore.cs
- DockProviderWrapper.cs
- StorageEntityContainerMapping.cs
- ApplicationInterop.cs
- XmlDictionaryString.cs
- BindValidator.cs
- CredentialCache.cs
- XPathException.cs
- FileReservationCollection.cs
- DataTableMapping.cs
- WebPartActionVerb.cs
- ForwardPositionQuery.cs
- GridEntry.cs
- TemplatedAdorner.cs
- SecurityPolicySection.cs
- SearchForVirtualItemEventArgs.cs
- WindowAutomationPeer.cs
- SafeProcessHandle.cs
- RichTextBoxContextMenu.cs
- ClientTargetSection.cs
- RangeBaseAutomationPeer.cs
- TransformGroup.cs
- DbModificationCommandTree.cs
- DataReceivedEventArgs.cs
- WindowsAuthenticationEventArgs.cs
- Floater.cs
- arclist.cs
- Sql8ExpressionRewriter.cs
- ToolBar.cs
- DesignerRegion.cs
- LoaderAllocator.cs
- XmlSchemaRedefine.cs
- CacheChildrenQuery.cs
- _NegotiateClient.cs
- TemplatedMailWebEventProvider.cs
- WindowsListViewItemStartMenu.cs
- PolyLineSegment.cs
- ZoomingMessageFilter.cs
- FocusWithinProperty.cs
- CreationContext.cs
- InstanceDescriptor.cs
- RsaSecurityToken.cs
- DynamicMethod.cs
- ApplicationDirectoryMembershipCondition.cs