Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- AuthenticationConfig.cs
- SessionStateUtil.cs
- Polyline.cs
- CompilationRelaxations.cs
- ExpressionBuilder.cs
- DispatcherHooks.cs
- ConfigurationLoader.cs
- DecoderFallback.cs
- Geometry.cs
- XmlSchemaAttributeGroupRef.cs
- SqlWriter.cs
- XmlAttributeAttribute.cs
- HMACMD5.cs
- _BaseOverlappedAsyncResult.cs
- DataSet.cs
- SwitchLevelAttribute.cs
- InsufficientExecutionStackException.cs
- DiscreteKeyFrames.cs
- _ListenerResponseStream.cs
- LocalValueEnumerator.cs
- ImageListStreamer.cs
- SaveFileDialog.cs
- Roles.cs
- CellCreator.cs
- ResourcePool.cs
- BlobPersonalizationState.cs
- DataRelationCollection.cs
- DragStartedEventArgs.cs
- UnknownWrapper.cs
- ApplicationFileParser.cs
- Keyboard.cs
- TextWriter.cs
- DefaultTextStoreTextComposition.cs
- CompressEmulationStream.cs
- OleDbDataReader.cs
- DesignerDataTable.cs
- MachineKeySection.cs
- RawStylusInputReport.cs
- RemotingHelper.cs
- ConfigurationManagerHelperFactory.cs
- Polygon.cs
- ZipArchive.cs
- XmlWrappingWriter.cs
- ToolStripPanelCell.cs
- XPathLexer.cs
- WorkflowServiceInstance.cs
- LinearKeyFrames.cs
- AuditLevel.cs
- DocumentViewerBase.cs
- SymbolUsageManager.cs
- RealizationDrawingContextWalker.cs
- PathGeometry.cs
- ListCardsInFileRequest.cs
- safelinkcollection.cs
- EventLogStatus.cs
- ConfigurationSchemaErrors.cs
- Serializer.cs
- TextEditorMouse.cs
- ResourceType.cs
- HttpResponseHeader.cs
- DeleteBookmarkScope.cs
- LineMetrics.cs
- DeleteHelper.cs
- ToggleButtonAutomationPeer.cs
- DataSourceGeneratorException.cs
- DefinitionProperties.cs
- CacheEntry.cs
- InputEventArgs.cs
- RotationValidation.cs
- ParameterCollection.cs
- PageClientProxyGenerator.cs
- DataGridSortCommandEventArgs.cs
- EventData.cs
- XamlBuildProvider.cs
- ChooseAction.cs
- WebGetAttribute.cs
- InputBindingCollection.cs
- SelectionProviderWrapper.cs
- CharEntityEncoderFallback.cs
- JournalNavigationScope.cs
- codemethodreferenceexpression.cs
- SoapObjectWriter.cs
- BitFlagsGenerator.cs
- TreeNodeCollection.cs
- DynamicControl.cs
- DetailsViewInsertEventArgs.cs
- WindowsTitleBar.cs
- InheritanceContextHelper.cs
- DiscriminatorMap.cs
- COSERVERINFO.cs
- _DisconnectOverlappedAsyncResult.cs
- OperationCanceledException.cs
- NullableDecimalMinMaxAggregationOperator.cs
- PersistenceProviderFactory.cs
- ItemContainerGenerator.cs
- PaperSize.cs
- DataGridParentRows.cs
- AsymmetricSignatureDeformatter.cs
- CompilationRelaxations.cs
- Int64Animation.cs