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
- shaperfactoryquerycacheentry.cs
- TypeTypeConverter.cs
- XamlPathDataSerializer.cs
- DataServiceContext.cs
- SpeechRecognitionEngine.cs
- CompositeControl.cs
- XmlSerializerAssemblyAttribute.cs
- UserControl.cs
- StorageComplexPropertyMapping.cs
- NavigationWindow.cs
- ScrollBar.cs
- XpsResourcePolicy.cs
- ModelProperty.cs
- Int32RectConverter.cs
- CfgSemanticTag.cs
- Animatable.cs
- EntitySetDataBindingList.cs
- XPathMultyIterator.cs
- ViewPort3D.cs
- ObjectDataSourceEventArgs.cs
- CompositeControl.cs
- SmiMetaDataProperty.cs
- Speller.cs
- SaveWorkflowCommand.cs
- KeyedByTypeCollection.cs
- CommandEventArgs.cs
- GlyphRun.cs
- ToolStripRendererSwitcher.cs
- DoubleLinkList.cs
- wgx_commands.cs
- ServiceContractDetailViewControl.cs
- MergeFailedEvent.cs
- FuncCompletionCallbackWrapper.cs
- SystemColorTracker.cs
- DataDocumentXPathNavigator.cs
- TableRowCollection.cs
- WindowsGraphicsCacheManager.cs
- NullableFloatAverageAggregationOperator.cs
- TemplateBuilder.cs
- EnumCodeDomSerializer.cs
- DataGridViewLinkCell.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- SqlMethodAttribute.cs
- SubMenuStyleCollection.cs
- SqlFunctionAttribute.cs
- Renderer.cs
- WebPartManager.cs
- ValidatingPropertiesEventArgs.cs
- StrokeNodeOperations.cs
- ViewgenGatekeeper.cs
- XmlIlGenerator.cs
- AttachedPropertyMethodSelector.cs
- EntityStoreSchemaGenerator.cs
- Image.cs
- compensatingcollection.cs
- RootProjectionNode.cs
- ConstantProjectedSlot.cs
- SettingsPropertyNotFoundException.cs
- RuleSettingsCollection.cs
- IPGlobalProperties.cs
- TextFormatter.cs
- WebPartUserCapability.cs
- ListViewCommandEventArgs.cs
- TraceSource.cs
- SqlDataSourceCache.cs
- FixedSOMTextRun.cs
- DesignerListAdapter.cs
- HtmlTableRowCollection.cs
- OperationCanceledException.cs
- DocumentPageHost.cs
- wgx_sdk_version.cs
- CodeVariableDeclarationStatement.cs
- SizeKeyFrameCollection.cs
- OdbcConnectionOpen.cs
- Metafile.cs
- XmlWrappingReader.cs
- HostProtectionException.cs
- LinearKeyFrames.cs
- CheckableControlBaseAdapter.cs
- StylusCaptureWithinProperty.cs
- SQLInt16Storage.cs
- DetailsViewDeletedEventArgs.cs
- StringValidator.cs
- RequestQueue.cs
- PointF.cs
- XmlWrappingReader.cs
- DispatcherExceptionFilterEventArgs.cs
- AppDomain.cs
- QueryLifecycle.cs
- NativeMethods.cs
- TypeDelegator.cs
- UserPreferenceChangingEventArgs.cs
- XmlWrappingReader.cs
- MatrixCamera.cs
- MaskDescriptor.cs
- _ProxyChain.cs
- InternalConfigHost.cs
- __Filters.cs
- XmlUtil.cs
- DragDropHelper.cs