Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- TraceUtility.cs
- XmlPreloadedResolver.cs
- TraceSwitch.cs
- AssemblyBuilder.cs
- TemplateNameScope.cs
- OperatingSystem.cs
- BinaryFormatter.cs
- EnumerableRowCollection.cs
- Soap12FormatExtensions.cs
- HitTestWithPointDrawingContextWalker.cs
- HeaderedContentControl.cs
- SecurityPermission.cs
- PriorityRange.cs
- ConstructorBuilder.cs
- CqlParser.cs
- DataGridItemEventArgs.cs
- SafeLocalMemHandle.cs
- GrammarBuilderWildcard.cs
- UnsafePeerToPeerMethods.cs
- ProfilePropertyNameValidator.cs
- SynchronizedKeyedCollection.cs
- SimpleFieldTemplateUserControl.cs
- OperationResponse.cs
- ViewPort3D.cs
- LineServicesRun.cs
- ParserExtension.cs
- PointAnimation.cs
- SamlSecurityTokenAuthenticator.cs
- TypeUnloadedException.cs
- Duration.cs
- JsonReader.cs
- CommentAction.cs
- FrameworkElementAutomationPeer.cs
- AnonymousIdentificationModule.cs
- DocobjHost.cs
- WebFormDesignerActionService.cs
- BrushValueSerializer.cs
- SqlClientWrapperSmiStreamChars.cs
- PriorityQueue.cs
- HtmlFormWrapper.cs
- SiteMapPath.cs
- DocumentPaginator.cs
- WindowsScroll.cs
- DesignerTransaction.cs
- CanonicalXml.cs
- Formatter.cs
- WebPartUtil.cs
- GridPatternIdentifiers.cs
- HostedNamedPipeTransportManager.cs
- Stack.cs
- RectangleGeometry.cs
- IxmlLineInfo.cs
- Help.cs
- _FtpControlStream.cs
- TemplateManager.cs
- WindowsGraphicsWrapper.cs
- CaretElement.cs
- Control.cs
- BrowserTree.cs
- FlowDocumentView.cs
- CommandArguments.cs
- CustomAttribute.cs
- CompressedStack.cs
- Matrix.cs
- PixelFormats.cs
- Opcode.cs
- AuthenticationSection.cs
- BuildTopDownAttribute.cs
- Char.cs
- OleDbDataAdapter.cs
- SelectionProviderWrapper.cs
- NamespaceQuery.cs
- ComponentResourceManager.cs
- SynchronizedDispatch.cs
- Operand.cs
- UrlMapping.cs
- Internal.cs
- ContextStaticAttribute.cs
- EditingCommands.cs
- OracleString.cs
- IInstanceContextProvider.cs
- AssociationTypeEmitter.cs
- assemblycache.cs
- GeometryGroup.cs
- Triplet.cs
- EdmConstants.cs
- NumberAction.cs
- CompositeFontParser.cs
- ElementHostAutomationPeer.cs
- WpfWebRequestHelper.cs
- OutOfProcStateClientManager.cs
- DispatchOperationRuntime.cs
- Asn1IntegerConverter.cs
- TransportBindingElement.cs
- SessionViewState.cs
- basemetadatamappingvisitor.cs
- XmlAttributes.cs
- UnsafeNativeMethodsPenimc.cs
- HtmlInputText.cs
- RuntimeEnvironment.cs