Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- WindowsListViewItem.cs
- TypeGeneratedEventArgs.cs
- HeaderedItemsControl.cs
- ListBoxItem.cs
- RegisteredHiddenField.cs
- ObjectListDataBindEventArgs.cs
- XmlArrayItemAttribute.cs
- CollectionViewGroup.cs
- ConstructorBuilder.cs
- GeneralTransformCollection.cs
- GridViewColumnCollectionChangedEventArgs.cs
- ArgumentDesigner.xaml.cs
- XPathEmptyIterator.cs
- WebPartEditVerb.cs
- CacheRequest.cs
- FollowerQueueCreator.cs
- precedingsibling.cs
- Control.cs
- WizardPanelChangingEventArgs.cs
- DataListItemCollection.cs
- BitmapPalettes.cs
- DirectoryInfo.cs
- DataTableReaderListener.cs
- GeometryHitTestParameters.cs
- XmlUtf8RawTextWriter.cs
- WCFServiceClientProxyGenerator.cs
- ResizingMessageFilter.cs
- NativeMethods.cs
- FontStretchConverter.cs
- SafeWaitHandle.cs
- CreateUserErrorEventArgs.cs
- SiteMembershipCondition.cs
- UIHelper.cs
- StrongNameMembershipCondition.cs
- AppDomainProtocolHandler.cs
- WorkflowOperationAsyncResult.cs
- HttpModulesSection.cs
- TextTrailingWordEllipsis.cs
- WSDualHttpSecurity.cs
- ProcessThread.cs
- WaveHeader.cs
- TextShapeableCharacters.cs
- ExpressionBuilderCollection.cs
- AttributeEmitter.cs
- HtmlTextArea.cs
- CodeIdentifier.cs
- StoreAnnotationsMap.cs
- GradientSpreadMethodValidation.cs
- ProfileGroupSettingsCollection.cs
- GenericPrincipal.cs
- OletxDependentTransaction.cs
- TreeNodeConverter.cs
- WorkflowWebHostingModule.cs
- CommandCollectionEditor.cs
- HTMLTextWriter.cs
- Model3D.cs
- wgx_render.cs
- CheckBoxList.cs
- TopClause.cs
- RoutedEventValueSerializer.cs
- ComEventsHelper.cs
- ItemCollection.cs
- IOException.cs
- SecurityKeyUsage.cs
- AnnotationResourceCollection.cs
- RelationshipEnd.cs
- AppDomainUnloadedException.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- rsa.cs
- RichTextBoxConstants.cs
- WorkflowQueueInfo.cs
- RequestedSignatureDialog.cs
- XmlDataSourceNodeDescriptor.cs
- Focus.cs
- InternalConfirm.cs
- SystemDropShadowChrome.cs
- ComPlusThreadInitializer.cs
- Container.cs
- SocketElement.cs
- ConditionalAttribute.cs
- SqlClientMetaDataCollectionNames.cs
- SecurityElement.cs
- SmiConnection.cs
- SpellerError.cs
- RuntimeWrappedException.cs
- UrlAuthorizationModule.cs
- Verify.cs
- RepeatInfo.cs
- ActivityExecutionContext.cs
- MinimizableAttributeTypeConverter.cs
- MetadataItem_Static.cs
- CompiledIdentityConstraint.cs
- Inflater.cs
- SqlDataSourceCache.cs
- RadioButton.cs
- ConfigurationSectionGroupCollection.cs
- messageonlyhwndwrapper.cs
- WebDisplayNameAttribute.cs
- UserInitiatedRoutedEventPermission.cs
- TextPenaltyModule.cs