Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- ObjectDataSourceSelectingEventArgs.cs
- QueueNameHelper.cs
- TypeReference.cs
- webbrowsersite.cs
- XmlElementAttributes.cs
- ValueTypeFixupInfo.cs
- BaseTemplateParser.cs
- FontCollection.cs
- RelatedImageListAttribute.cs
- TableStyle.cs
- CodeDelegateCreateExpression.cs
- ListViewTableRow.cs
- XmlSchemaComplexContentExtension.cs
- UnaryNode.cs
- WinFormsComponentEditor.cs
- StreamInfo.cs
- ListMarkerLine.cs
- InlineCollection.cs
- WindowsFormsHelpers.cs
- TimeSpanValidatorAttribute.cs
- PageCache.cs
- UpdateExpressionVisitor.cs
- AddressHeader.cs
- XmlDocumentFragment.cs
- sqlser.cs
- TextEvent.cs
- NumericUpDownAcceleration.cs
- PathData.cs
- MenuTracker.cs
- QueryCreatedEventArgs.cs
- DbProviderConfigurationHandler.cs
- PreloadedPackages.cs
- RestHandlerFactory.cs
- DateTimeConstantAttribute.cs
- ScriptManagerProxy.cs
- Rules.cs
- TypeResolvingOptionsAttribute.cs
- MenuItemAutomationPeer.cs
- COM2ColorConverter.cs
- MimeObjectFactory.cs
- ExpressionQuoter.cs
- AnnotationHelper.cs
- DataSpaceManager.cs
- EventProviderWriter.cs
- GuidTagList.cs
- DataList.cs
- Stopwatch.cs
- ResourceDescriptionAttribute.cs
- ValueTypeFixupInfo.cs
- DataException.cs
- ListViewHitTestInfo.cs
- AssemblyUtil.cs
- ComplexObject.cs
- BamlResourceDeserializer.cs
- Symbol.cs
- SimpleWebHandlerParser.cs
- NaturalLanguageHyphenator.cs
- TreeView.cs
- ISAPIRuntime.cs
- PeerNameRecordCollection.cs
- CellCreator.cs
- Cursors.cs
- EventRouteFactory.cs
- DataTableCollection.cs
- UnicodeEncoding.cs
- RepeaterItem.cs
- UriTemplate.cs
- Baml2006SchemaContext.cs
- DelegateHelpers.cs
- RefreshEventArgs.cs
- DataGridCaption.cs
- SerializationAttributes.cs
- FloatSumAggregationOperator.cs
- ClientRolePrincipal.cs
- RecognitionEventArgs.cs
- EditorZone.cs
- AddDataControlFieldDialog.cs
- StandardToolWindows.cs
- Shared.cs
- ScrollChrome.cs
- SqlCommand.cs
- Control.cs
- TextRange.cs
- __Error.cs
- AttachedPropertyMethodSelector.cs
- Currency.cs
- TextInfo.cs
- OleDbEnumerator.cs
- ConstraintCollection.cs
- Attributes.cs
- ITextView.cs
- AssemblyBuilderData.cs
- SqlNotificationEventArgs.cs
- GatewayIPAddressInformationCollection.cs
- XmlSerializerAssemblyAttribute.cs
- PointHitTestResult.cs
- DataSourceControl.cs
- EdmProperty.cs
- counter.cs
- DataGridAddNewRow.cs