Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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;
///
/// Provides data for the event of a .
///
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public class DataGridSortCommandEventArgs : EventArgs {
private string sortExpression;
private object commandSource;
///
/// Initializes a new instance of the class.
///
public DataGridSortCommandEventArgs(object commandSource, DataGridCommandEventArgs dce) {
this.commandSource = commandSource;
this.sortExpression = (string)dce.CommandArgument;
}
///
/// Gets the source of the command. This property is read-only.
///
public object CommandSource {
get {
return commandSource;
}
}
///
/// Gets the expression used to sort. This property is read-only.
///
public string SortExpression {
get {
return sortExpression;
}
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MenuBindingsEditor.cs
- CqlParserHelpers.cs
- EncoderReplacementFallback.cs
- VersionedStreamOwner.cs
- Validator.cs
- FloatSumAggregationOperator.cs
- ValidatorUtils.cs
- EntityDataSourceDesigner.cs
- StreamResourceInfo.cs
- XmlSchemaObjectTable.cs
- SystemTcpConnection.cs
- CodeDOMUtility.cs
- ContentPlaceHolder.cs
- TdsParserHelperClasses.cs
- SingleAnimation.cs
- CompilerParameters.cs
- MembershipUser.cs
- LoadRetryStrategyFactory.cs
- Enlistment.cs
- StreamMarshaler.cs
- WSHttpBindingCollectionElement.cs
- RegionInfo.cs
- XmlILModule.cs
- FormViewPageEventArgs.cs
- DataGridViewMethods.cs
- DesigntimeLicenseContext.cs
- RoutingExtensionElement.cs
- CodeParameterDeclarationExpression.cs
- QuotedPairReader.cs
- DragEvent.cs
- DataExpression.cs
- ToolStripManager.cs
- RootContext.cs
- DrawingState.cs
- CustomAttribute.cs
- HandlerBase.cs
- ScriptMethodAttribute.cs
- COM2Properties.cs
- CryptoStream.cs
- SplayTreeNode.cs
- odbcmetadatacollectionnames.cs
- ApplicationInfo.cs
- VirtualizedCellInfoCollection.cs
- safex509handles.cs
- FormsIdentity.cs
- WebPartCatalogAddVerb.cs
- TransactionChannel.cs
- DeviceFilterDictionary.cs
- DrawingVisual.cs
- XPathEmptyIterator.cs
- EntityDataSourceView.cs
- TriState.cs
- MethodRental.cs
- SecurityHelper.cs
- Encoding.cs
- EmissiveMaterial.cs
- CorrelationManager.cs
- BackgroundWorker.cs
- BreakRecordTable.cs
- SqlCacheDependencyDatabase.cs
- LogicalExpressionTypeConverter.cs
- WebPartTransformerCollection.cs
- SamlDoNotCacheCondition.cs
- M3DUtil.cs
- CroppedBitmap.cs
- SurrogateSelector.cs
- PrinterResolution.cs
- VariableAction.cs
- ProviderSettings.cs
- RTLAwareMessageBox.cs
- CustomAttributeFormatException.cs
- ThreadPool.cs
- SiteMapNodeCollection.cs
- SessionEndingCancelEventArgs.cs
- ScopedKnownTypes.cs
- BlobPersonalizationState.cs
- BuilderPropertyEntry.cs
- OpenTypeLayoutCache.cs
- XmlAttributeCollection.cs
- ExceptionHandlers.cs
- ArgumentNullException.cs
- Image.cs
- TypeUtil.cs
- ScrollableControl.cs
- XmlWellformedWriterHelpers.cs
- CacheHelper.cs
- PtsPage.cs
- UdpSocketReceiveManager.cs
- SamlAssertionKeyIdentifierClause.cs
- ProxyGenerationError.cs
- StylusDevice.cs
- securestring.cs
- DefaultWorkflowTransactionService.cs
- TimeManager.cs
- shaperfactoryquerycacheentry.cs
- AssemblyAttributes.cs
- SqlNodeAnnotation.cs
- BitmapEffectDrawingContextState.cs
- selecteditemcollection.cs
- XomlCompiler.cs