Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / DataGridSortCommandEventArgs.cs / 1305376 / DataGridSortCommandEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.Diagnostics.CodeAnalysis; ////// public class DataGridSortCommandEventArgs : EventArgs { private string sortExpression; private object commandSource; ///Provides data for the ///event of a . /// /// [SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers")] 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.Diagnostics.CodeAnalysis; ////// public class DataGridSortCommandEventArgs : EventArgs { private string sortExpression; private object commandSource; ///Provides data for the ///event of a . /// /// [SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers")] 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
- AttachedPropertyBrowsableAttribute.cs
- HierarchicalDataTemplate.cs
- ProvidersHelper.cs
- XmlUtilWriter.cs
- DbConnectionPoolCounters.cs
- TableLayoutSettingsTypeConverter.cs
- HttpSocketManager.cs
- NullEntityWrapper.cs
- XsltContext.cs
- ExpandSegment.cs
- PreviewKeyDownEventArgs.cs
- MimeObjectFactory.cs
- TokenBasedSet.cs
- InputReferenceExpression.cs
- DesignTimeParseData.cs
- SolidBrush.cs
- TrackBarRenderer.cs
- WebUtil.cs
- ComPlusDiagnosticTraceRecords.cs
- TypeUnloadedException.cs
- SoapClientMessage.cs
- WebBrowser.cs
- BinaryObjectWriter.cs
- DynamicPropertyHolder.cs
- IDQuery.cs
- HotSpot.cs
- HostingPreferredMapPath.cs
- PackageDocument.cs
- ChineseLunisolarCalendar.cs
- SelectedDatesCollection.cs
- SafeFileMapViewHandle.cs
- InputScopeManager.cs
- COM2Properties.cs
- DataGridViewLinkColumn.cs
- SponsorHelper.cs
- GeneralTransform.cs
- XmlAttributeCache.cs
- ToolStripSplitStackLayout.cs
- OleDbInfoMessageEvent.cs
- RecognitionEventArgs.cs
- Viewport3DAutomationPeer.cs
- HtmlElementCollection.cs
- mediapermission.cs
- StatusBarItem.cs
- SqlDataSourceView.cs
- HttpProfileGroupBase.cs
- TextSelectionHelper.cs
- XmlReflectionImporter.cs
- EntitySqlQueryCacheEntry.cs
- OdbcException.cs
- ControlIdConverter.cs
- DetailsViewRowCollection.cs
- RSAPKCS1KeyExchangeFormatter.cs
- SecurityTokenAuthenticator.cs
- DynamicPropertyHolder.cs
- FlowDocumentScrollViewer.cs
- AuthorizationSection.cs
- Oid.cs
- TraceSection.cs
- Parameter.cs
- ExtenderControl.cs
- AdPostCacheSubstitution.cs
- WebExceptionStatus.cs
- WindowsIdentity.cs
- DBBindings.cs
- UriScheme.cs
- MetafileHeaderWmf.cs
- DataQuery.cs
- COM2ExtendedUITypeEditor.cs
- XPathScanner.cs
- _AutoWebProxyScriptHelper.cs
- DataViewListener.cs
- TextLine.cs
- DateTimeParse.cs
- Mutex.cs
- ComponentEvent.cs
- ViewLoader.cs
- PageThemeBuildProvider.cs
- MsmqIntegrationMessageProperty.cs
- BrowserCapabilitiesFactory.cs
- ExecutionScope.cs
- PolyBezierSegment.cs
- TransformerConfigurationWizardBase.cs
- Symbol.cs
- ToolStripMenuItemCodeDomSerializer.cs
- ConfigurationLocation.cs
- FilterableAttribute.cs
- propertytag.cs
- InputLangChangeRequestEvent.cs
- XmlBindingWorker.cs
- XmlArrayItemAttribute.cs
- TearOffProxy.cs
- QueryOperationResponseOfT.cs
- ReversePositionQuery.cs
- DataGridViewDataConnection.cs
- BlobPersonalizationState.cs
- RequestFactory.cs
- DispatcherExceptionEventArgs.cs
- Panel.cs
- ClassHandlersStore.cs