Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / xsp / System / Web / Extensions / ui / webcontrols / ListViewSortEventArgs.cs / 1 / ListViewSortEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Collections.Specialized; using System.ComponentModel; namespace System.Web.UI.WebControls { [AspNetHostingPermission(System.Security.Permissions.SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(System.Security.Permissions.SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ListViewSortEventArgs : CancelEventArgs { private string _sortExpression; private SortDirection _sortDirection; public ListViewSortEventArgs(string sortExpression, SortDirection sortDirection) : base(false) { this._sortExpression = sortExpression; this._sortDirection = sortDirection; } ////// public SortDirection SortDirection { get { return _sortDirection; } set { _sortDirection = value; } } ///Gets the direction used to sort. ////// public string SortExpression { get { return _sortExpression; } set { _sortExpression = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets the expression used to sort. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Collections.Specialized; using System.ComponentModel; namespace System.Web.UI.WebControls { [AspNetHostingPermission(System.Security.Permissions.SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(System.Security.Permissions.SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ListViewSortEventArgs : CancelEventArgs { private string _sortExpression; private SortDirection _sortDirection; public ListViewSortEventArgs(string sortExpression, SortDirection sortDirection) : base(false) { this._sortExpression = sortExpression; this._sortDirection = sortDirection; } ////// public SortDirection SortDirection { get { return _sortDirection; } set { _sortDirection = value; } } ///Gets the direction used to sort. ////// public string SortExpression { get { return _sortExpression; } set { _sortExpression = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the expression used to sort. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UnlockInstanceCommand.cs
- DrawingDrawingContext.cs
- DocumentOrderComparer.cs
- TranslateTransform3D.cs
- _ListenerRequestStream.cs
- TimerElapsedEvenArgs.cs
- InfoCardCryptoHelper.cs
- WizardPanelChangingEventArgs.cs
- XmlSchemaSequence.cs
- PageFunction.cs
- SaveCardRequest.cs
- RemoteWebConfigurationHostStream.cs
- IntellisenseTextBox.cs
- SamlAttribute.cs
- ReturnType.cs
- IsolatedStorageFile.cs
- HtmlAnchor.cs
- AnonymousIdentificationModule.cs
- ComplexLine.cs
- RegexCaptureCollection.cs
- BrushValueSerializer.cs
- UnsafeNativeMethods.cs
- XamlPoint3DCollectionSerializer.cs
- XmlSchemaAnnotation.cs
- PropertyValueUIItem.cs
- ObjectDataSourceSelectingEventArgs.cs
- CustomAttributeFormatException.cs
- ColumnMap.cs
- EntityCommandCompilationException.cs
- DataGridItemEventArgs.cs
- SrgsRule.cs
- AspNetSynchronizationContext.cs
- ReaderWriterLockWrapper.cs
- TableRow.cs
- DispatcherObject.cs
- InternalControlCollection.cs
- QilFactory.cs
- EventTrigger.cs
- JsonReader.cs
- followingsibling.cs
- InstanceNormalEvent.cs
- CodePageEncoding.cs
- AsymmetricSecurityBindingElement.cs
- Point.cs
- ChameleonKey.cs
- DataProtection.cs
- HtmlTableRowCollection.cs
- List.cs
- TemplateControl.cs
- LabelEditEvent.cs
- MeasurementDCInfo.cs
- ToolStripSettings.cs
- MemberMemberBinding.cs
- DataServiceEntityAttribute.cs
- MulticastNotSupportedException.cs
- IntSecurity.cs
- Journal.cs
- CryptoHandle.cs
- PerformanceCounterPermissionAttribute.cs
- DataObjectFieldAttribute.cs
- XmlWriterDelegator.cs
- DbProviderFactoriesConfigurationHandler.cs
- HttpRequestMessageProperty.cs
- SecurityDescriptor.cs
- _SecureChannel.cs
- ExternalException.cs
- UIPermission.cs
- ActivityMarkupSerializer.cs
- PolicyManager.cs
- OperatingSystem.cs
- FormsAuthentication.cs
- streamingZipPartStream.cs
- DesignerForm.cs
- FormViewInsertedEventArgs.cs
- FillRuleValidation.cs
- NamedObject.cs
- MiniConstructorInfo.cs
- Processor.cs
- SmtpMail.cs
- prompt.cs
- SettingsAttributeDictionary.cs
- ProxyGenerator.cs
- PeerInvitationResponse.cs
- BigInt.cs
- WebPartConnectionsDisconnectVerb.cs
- TextDecoration.cs
- ParameterCollection.cs
- DBParameter.cs
- ProfessionalColorTable.cs
- AllMembershipCondition.cs
- TableStyle.cs
- ChameleonKey.cs
- SqlCommand.cs
- RuntimeHandles.cs
- HtmlElementCollection.cs
- TraceSection.cs
- Wildcard.cs
- LicFileLicenseProvider.cs
- WebServiceEnumData.cs
- InteropAutomationProvider.cs