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
- XmlDataLoader.cs
- XmlSchemaObjectCollection.cs
- HtmlInputRadioButton.cs
- EngineSiteSapi.cs
- ellipse.cs
- StateMachineHelpers.cs
- BaseTemplateCodeDomTreeGenerator.cs
- RtfToken.cs
- Label.cs
- DrawListViewSubItemEventArgs.cs
- TextBoxView.cs
- XPathNavigatorReader.cs
- DataGridParentRows.cs
- TraceHandlerErrorFormatter.cs
- ApplicationGesture.cs
- SQLSingle.cs
- NullExtension.cs
- DoubleAnimationBase.cs
- AssemblyInfo.cs
- WebBrowserUriTypeConverter.cs
- Vector3DKeyFrameCollection.cs
- ProxyManager.cs
- datacache.cs
- _Connection.cs
- SecurityContext.cs
- AsyncDataRequest.cs
- StringResourceManager.cs
- BasicAsyncResult.cs
- NativeMethods.cs
- SectionInformation.cs
- ETagAttribute.cs
- HtmlFormParameterReader.cs
- AttachInfo.cs
- AuthenticationException.cs
- TemplateAction.cs
- TextElementCollection.cs
- EdmValidator.cs
- ProtocolsConfigurationEntry.cs
- PageContent.cs
- StrongNameSignatureInformation.cs
- DependencyPropertyValueSerializer.cs
- WindowsAuthenticationModule.cs
- HtmlInputFile.cs
- BaseResourcesBuildProvider.cs
- LinearGradientBrush.cs
- CodeFieldReferenceExpression.cs
- SrgsGrammar.cs
- Wizard.cs
- BrowserCapabilitiesCodeGenerator.cs
- CodeTypeParameterCollection.cs
- JulianCalendar.cs
- ProbeMatchesMessageCD1.cs
- MappingException.cs
- XmlDataImplementation.cs
- TextFindEngine.cs
- X509CertificateInitiatorServiceCredential.cs
- Size.cs
- WindowsAuthenticationModule.cs
- IIS7UserPrincipal.cs
- SessionPageStatePersister.cs
- ProtocolsConfiguration.cs
- Condition.cs
- SelectionItemPattern.cs
- NameObjectCollectionBase.cs
- SiteMapNode.cs
- ExpressionNormalizer.cs
- ContentElement.cs
- NamespaceEmitter.cs
- SplineKeyFrames.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- InvalidCastException.cs
- Classification.cs
- EmptyQuery.cs
- Geometry3D.cs
- PropertyManager.cs
- PropertyGrid.cs
- SafeArrayTypeMismatchException.cs
- DocumentViewer.cs
- XPathDescendantIterator.cs
- EncoderBestFitFallback.cs
- TemplateBindingExtension.cs
- webclient.cs
- PartialTrustVisibleAssemblyCollection.cs
- _SingleItemRequestCache.cs
- RightsManagementPermission.cs
- _OverlappedAsyncResult.cs
- QueryResultOp.cs
- CollectionsUtil.cs
- Soap.cs
- MobileSysDescriptionAttribute.cs
- SchemaEntity.cs
- datacache.cs
- FontResourceCache.cs
- DataControlPagerLinkButton.cs
- Keyboard.cs
- LocatorGroup.cs
- DbTransaction.cs
- ObjectListDataBindEventArgs.cs
- DataFormats.cs
- EndpointDispatcherTable.cs