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
- ScriptReferenceBase.cs
- LockedHandleGlyph.cs
- WindowShowOrOpenTracker.cs
- SingletonInstanceContextProvider.cs
- WebControl.cs
- Timer.cs
- ExtensionQuery.cs
- SoapElementAttribute.cs
- XmlSchemaCollection.cs
- EnumerableCollectionView.cs
- DataObjectEventArgs.cs
- BrushValueSerializer.cs
- StringAttributeCollection.cs
- AuthenticationManager.cs
- oledbconnectionstring.cs
- QueryParameter.cs
- _HTTPDateParse.cs
- XmlAttributes.cs
- DependencyObjectValidator.cs
- ConstNode.cs
- PeerToPeerException.cs
- CodeDOMUtility.cs
- DataTemplateKey.cs
- TransformerInfo.cs
- DataGridState.cs
- BindingValueChangedEventArgs.cs
- TextFormatterHost.cs
- GridViewCancelEditEventArgs.cs
- SchemaAttDef.cs
- AdvancedBindingPropertyDescriptor.cs
- InvalidAsynchronousStateException.cs
- DeleteBookmarkScope.cs
- BitmapFrameEncode.cs
- DurationConverter.cs
- DateTimeValueSerializerContext.cs
- GridItemCollection.cs
- XmlSigningNodeWriter.cs
- LineMetrics.cs
- XPathExpr.cs
- RedistVersionInfo.cs
- SqlDuplicator.cs
- TransactionChannelListener.cs
- BitmapSource.cs
- FixedTextContainer.cs
- InputScope.cs
- CompressedStack.cs
- HtmlInputText.cs
- Method.cs
- MailAddressCollection.cs
- GradientStop.cs
- XmlEncoding.cs
- OleDbTransaction.cs
- PackWebResponse.cs
- CreationContext.cs
- ScriptingSectionGroup.cs
- RegistryConfigurationProvider.cs
- BaseAppDomainProtocolHandler.cs
- DragDeltaEventArgs.cs
- ExceptionUtility.cs
- Clipboard.cs
- HttpCacheParams.cs
- SqlOuterApplyReducer.cs
- ProviderException.cs
- FaultDescription.cs
- CompatibleIComparer.cs
- HttpCookiesSection.cs
- TypeConstant.cs
- SetterBase.cs
- XNodeNavigator.cs
- HtmlInputCheckBox.cs
- EventLogReader.cs
- RangeValidator.cs
- TrackingServices.cs
- SettingsBase.cs
- WebPartConnectionsDisconnectVerb.cs
- SqlFlattener.cs
- WindowsHyperlink.cs
- WebPartZone.cs
- Material.cs
- Margins.cs
- SchemaComplexType.cs
- SymLanguageVendor.cs
- ComboBoxAutomationPeer.cs
- TileModeValidation.cs
- ItemList.cs
- ParseElementCollection.cs
- SafeSecurityHelper.cs
- _SslState.cs
- SqlDependencyListener.cs
- DataBinding.cs
- TemplatePagerField.cs
- ExpandedWrapper.cs
- XmlBoundElement.cs
- UpdateProgress.cs
- RtfToken.cs
- ByteViewer.cs
- IsolatedStoragePermission.cs
- EditorZone.cs
- QueryGenerator.cs
- ShaderEffect.cs