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
- SessionStateModule.cs
- XPathNode.cs
- DataListCommandEventArgs.cs
- CuspData.cs
- TrackingMemoryStream.cs
- WorkflowOperationAsyncResult.cs
- WindowsListViewGroup.cs
- TemplateControlCodeDomTreeGenerator.cs
- SelectionProviderWrapper.cs
- StreamWriter.cs
- CheckoutException.cs
- BaseDataListPage.cs
- TextEditorThreadLocalStore.cs
- ServiceHttpModule.cs
- IPPacketInformation.cs
- EventEntry.cs
- PointLight.cs
- OrderByQueryOptionExpression.cs
- RolePrincipal.cs
- TagNameToTypeMapper.cs
- StringResourceManager.cs
- ManualResetEvent.cs
- KeySplineConverter.cs
- NaturalLanguageHyphenator.cs
- printdlgexmarshaler.cs
- FullTextState.cs
- SafeRightsManagementSessionHandle.cs
- ConfigurationConverterBase.cs
- GridViewDeletedEventArgs.cs
- TailCallAnalyzer.cs
- GestureRecognizer.cs
- CodeRegionDirective.cs
- FieldDescriptor.cs
- TransportSecurityHelpers.cs
- OperationResponse.cs
- DocumentApplication.cs
- ZipFileInfo.cs
- XmlCharacterData.cs
- UTF7Encoding.cs
- HtmlHead.cs
- SystemEvents.cs
- WindowsAuthenticationEventArgs.cs
- BinaryMethodMessage.cs
- TreeViewHitTestInfo.cs
- SelectedDatesCollection.cs
- CoreSwitches.cs
- VectorCollectionConverter.cs
- MenuAdapter.cs
- EastAsianLunisolarCalendar.cs
- TextRangeEditTables.cs
- DataControlImageButton.cs
- GroupBoxAutomationPeer.cs
- ProxyAttribute.cs
- XmlChoiceIdentifierAttribute.cs
- RuleInfoComparer.cs
- WindowsTooltip.cs
- HttpRequestTraceRecord.cs
- CodeConstructor.cs
- QilTernary.cs
- GcHandle.cs
- EventListener.cs
- Metafile.cs
- TransformerTypeCollection.cs
- BindUriHelper.cs
- ValidationResult.cs
- AddInStore.cs
- ThaiBuddhistCalendar.cs
- GradientBrush.cs
- WebPageTraceListener.cs
- mansign.cs
- KeyValuePair.cs
- WebPartDeleteVerb.cs
- GeometryGroup.cs
- SemaphoreSlim.cs
- EntryPointNotFoundException.cs
- SpStreamWrapper.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- EventHandlersStore.cs
- DocumentViewerBaseAutomationPeer.cs
- DataKey.cs
- HtmlTableCellCollection.cs
- MenuAutomationPeer.cs
- IPEndPoint.cs
- PenContext.cs
- Literal.cs
- TextEditorSpelling.cs
- SerializationInfo.cs
- ColorAnimation.cs
- EmbeddedMailObjectsCollection.cs
- ClickablePoint.cs
- XmlSerializerVersionAttribute.cs
- CultureInfoConverter.cs
- GridViewDeleteEventArgs.cs
- ClientRuntimeConfig.cs
- FileSecurity.cs
- FormsAuthenticationTicket.cs
- Slider.cs
- HttpFileCollectionBase.cs
- SqlNodeTypeOperators.cs
- GACMembershipCondition.cs