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
- NativeRightsManagementAPIsStructures.cs
- Rules.cs
- SafeTimerHandle.cs
- HuffmanTree.cs
- MSG.cs
- UnmanagedMemoryStreamWrapper.cs
- FreeFormDesigner.cs
- EntityDataSourceDataSelection.cs
- NativeMethods.cs
- DataGridBoolColumn.cs
- ResourceAttributes.cs
- ProxyWebPartConnectionCollection.cs
- ProxyGenerationError.cs
- WebRequest.cs
- EntityDataSourceColumn.cs
- ConfigurationManagerHelperFactory.cs
- GacUtil.cs
- Point3DCollectionValueSerializer.cs
- CacheChildrenQuery.cs
- HttpModule.cs
- ComponentChangingEvent.cs
- ProviderConnectionPoint.cs
- XamlClipboardData.cs
- ResolveNameEventArgs.cs
- CaseKeyBox.ViewModel.cs
- BufferedReadStream.cs
- TransformGroup.cs
- SystemGatewayIPAddressInformation.cs
- ScalarConstant.cs
- WindowsHyperlink.cs
- WmpBitmapEncoder.cs
- Thread.cs
- ReplacementText.cs
- mil_commands.cs
- TemplateBamlRecordReader.cs
- SecurityContextSecurityTokenResolver.cs
- DoubleStorage.cs
- MsiStyleLogWriter.cs
- RetrieveVirtualItemEventArgs.cs
- EdmComplexTypeAttribute.cs
- PostBackTrigger.cs
- PKCS1MaskGenerationMethod.cs
- _DisconnectOverlappedAsyncResult.cs
- CombinedGeometry.cs
- ResourceReader.cs
- SafeProcessHandle.cs
- EventSourceCreationData.cs
- ReadOnlyDataSource.cs
- sqlpipe.cs
- ModelItemImpl.cs
- CharacterBufferReference.cs
- FolderLevelBuildProvider.cs
- C14NUtil.cs
- RSACryptoServiceProvider.cs
- OperationDescriptionCollection.cs
- TableSectionStyle.cs
- HostExecutionContextManager.cs
- MessageQueueConverter.cs
- DbProviderConfigurationHandler.cs
- AssemblyHash.cs
- XNameTypeConverter.cs
- DateTimeConstantAttribute.cs
- XmlExceptionHelper.cs
- CultureSpecificStringDictionary.cs
- CodeCompiler.cs
- BaseCAMarshaler.cs
- FlowDocumentReader.cs
- webbrowsersite.cs
- HtmlWindowCollection.cs
- FrameAutomationPeer.cs
- StyleXamlTreeBuilder.cs
- HandlerFactoryCache.cs
- MdImport.cs
- WebServiceAttribute.cs
- DataControlPagerLinkButton.cs
- TypedTableBaseExtensions.cs
- WorkflowTransactionService.cs
- InternalConfigRoot.cs
- PointValueSerializer.cs
- CultureInfo.cs
- DataGridComboBoxColumn.cs
- PackageFilter.cs
- CrossAppDomainChannel.cs
- EnumBuilder.cs
- SrgsDocumentParser.cs
- AnnouncementService.cs
- DateTimeUtil.cs
- ControlBuilderAttribute.cs
- XmlSchemaIdentityConstraint.cs
- LabelAutomationPeer.cs
- DataSourceCacheDurationConverter.cs
- ChangeConflicts.cs
- WebControlAdapter.cs
- FunctionGenerator.cs
- CommandCollectionEditor.cs
- ProviderSettings.cs
- PersonalizationEntry.cs
- SqlDataSourceCommandParser.cs
- ConnectionManagementSection.cs
- DiscoveryClientReferences.cs