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
- HttpValueCollection.cs
- XmlSchemaCompilationSettings.cs
- SettingsAttributes.cs
- XmlSchema.cs
- WebControl.cs
- AttachmentService.cs
- ToolStripDropTargetManager.cs
- PathNode.cs
- TextViewSelectionProcessor.cs
- EncoderParameters.cs
- XmlSchemaCollection.cs
- StringValidatorAttribute.cs
- PersianCalendar.cs
- SemaphoreFullException.cs
- SignatureToken.cs
- ExceptionUtil.cs
- Speller.cs
- IfAction.cs
- MailHeaderInfo.cs
- FieldNameLookup.cs
- InputMethod.cs
- Grammar.cs
- TypeRestriction.cs
- HttpCapabilitiesSectionHandler.cs
- XPathAncestorQuery.cs
- DiagnosticsConfigurationHandler.cs
- DataColumnMapping.cs
- ControlValuePropertyAttribute.cs
- EdmProperty.cs
- Substitution.cs
- TabletDeviceInfo.cs
- XmlSchemaAttributeGroupRef.cs
- RetrieveVirtualItemEventArgs.cs
- documentsequencetextcontainer.cs
- BrowserDefinition.cs
- WebPartTransformerCollection.cs
- OdbcParameter.cs
- DispatcherHookEventArgs.cs
- SourceFileBuildProvider.cs
- ClosableStream.cs
- uribuilder.cs
- FloatUtil.cs
- PrePostDescendentsWalker.cs
- ListBoxItem.cs
- ISO2022Encoding.cs
- SplayTreeNode.cs
- FormsAuthenticationModule.cs
- ListViewCancelEventArgs.cs
- OracleTransaction.cs
- ConstructorBuilder.cs
- UriSection.cs
- StandardCommands.cs
- CharAnimationUsingKeyFrames.cs
- WebPartConnectionsCancelEventArgs.cs
- CancelEventArgs.cs
- ConcurrentDictionary.cs
- QueryResponse.cs
- PointCollection.cs
- MinMaxParagraphWidth.cs
- DataGridPagerStyle.cs
- Win32Native.cs
- HttpModuleActionCollection.cs
- Stack.cs
- XPathNavigatorKeyComparer.cs
- LogLogRecord.cs
- BitFlagsGenerator.cs
- LinqDataSourceHelper.cs
- FillBehavior.cs
- MenuItemBinding.cs
- PropertyDescriptors.cs
- ListControlBuilder.cs
- CorrelationKey.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- UseAttributeSetsAction.cs
- LineGeometry.cs
- MaskDescriptor.cs
- RepeatInfo.cs
- TableLayoutPanelDesigner.cs
- HttpGetProtocolReflector.cs
- ElementNotEnabledException.cs
- BooleanAnimationBase.cs
- WindowsNonControl.cs
- ProfileGroupSettings.cs
- dataprotectionpermission.cs
- FileAuthorizationModule.cs
- WebPartExportVerb.cs
- Stack.cs
- WindowsFormsLinkLabel.cs
- TextElementAutomationPeer.cs
- AttributeData.cs
- MemberPath.cs
- TableRow.cs
- CompilerCollection.cs
- ResourceSet.cs
- ImportDesigner.xaml.cs
- CollectionsUtil.cs
- CodeIdentifier.cs
- ParamArrayAttribute.cs
- Property.cs
- GB18030Encoding.cs