Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewSortEventArgs.cs / 1 / GridViewSortEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class GridViewSortEventArgs : CancelEventArgs { private string _sortExpression; private SortDirection _sortDirection; ///Provides data for the ///event of a . /// /// public GridViewSortEventArgs(string sortExpression, SortDirection sortDirection) { this._sortExpression = sortExpression; this._sortDirection = sortDirection; } ///Initializes a new instance of the ///class. /// 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. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class GridViewSortEventArgs : CancelEventArgs { private string _sortExpression; private SortDirection _sortDirection; ///Provides data for the ///event of a . /// /// public GridViewSortEventArgs(string sortExpression, SortDirection sortDirection) { this._sortExpression = sortExpression; this._sortDirection = sortDirection; } ///Initializes a new instance of the ///class. /// 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
- TraceHelpers.cs
- FileUtil.cs
- MimeParameterWriter.cs
- DummyDataSource.cs
- IndependentAnimationStorage.cs
- AudioFormatConverter.cs
- DesignerCategoryAttribute.cs
- CachingHintValidation.cs
- EditingContext.cs
- ProcessThread.cs
- UnmanagedHandle.cs
- ClosureBinding.cs
- UriTemplateMatchException.cs
- Page.cs
- WebBrowserNavigatedEventHandler.cs
- ScrollChrome.cs
- ImportCatalogPart.cs
- QilInvokeEarlyBound.cs
- ToolStripDropDownClosedEventArgs.cs
- Rotation3D.cs
- XmlSchemaNotation.cs
- Soap.cs
- CodePrimitiveExpression.cs
- TextCompositionEventArgs.cs
- DataGridPagerStyle.cs
- CommonProperties.cs
- COM2IProvidePropertyBuilderHandler.cs
- IgnoreFileBuildProvider.cs
- ZipIOExtraFieldPaddingElement.cs
- InvalidCastException.cs
- PageCache.cs
- XmlSchemaExternal.cs
- EntryWrittenEventArgs.cs
- SequentialWorkflowRootDesigner.cs
- CredentialCache.cs
- ListSortDescriptionCollection.cs
- FormViewUpdatedEventArgs.cs
- CommandDevice.cs
- QuotedStringWriteStateInfo.cs
- FormsAuthenticationCredentials.cs
- ObjectItemCachedAssemblyLoader.cs
- StatusBar.cs
- InkCanvas.cs
- DoWorkEventArgs.cs
- SqlComparer.cs
- SessionStateItemCollection.cs
- FixedSOMPageElement.cs
- ManagementExtension.cs
- FormViewInsertEventArgs.cs
- NTAccount.cs
- Stylus.cs
- NumericUpDownAcceleration.cs
- DependencyProperty.cs
- OracleTransaction.cs
- OleDbConnection.cs
- ExpressionBuilderContext.cs
- EventTrigger.cs
- AttributeTable.cs
- XmlObjectSerializerReadContextComplexJson.cs
- AccessText.cs
- JavaScriptString.cs
- ConsumerConnectionPointCollection.cs
- DataServiceContext.cs
- MasterPageBuildProvider.cs
- ISFClipboardData.cs
- ExecutionEngineException.cs
- DesignerValidationSummaryAdapter.cs
- ConfigurationCollectionAttribute.cs
- sqlstateclientmanager.cs
- RTLAwareMessageBox.cs
- ArrayList.cs
- UxThemeWrapper.cs
- Assert.cs
- LOSFormatter.cs
- Attributes.cs
- SqlVisitor.cs
- StringFormat.cs
- SizeFConverter.cs
- Command.cs
- SafeLocalMemHandle.cs
- SafeUserTokenHandle.cs
- ContentDisposition.cs
- PtsContext.cs
- EntryWrittenEventArgs.cs
- BackoffTimeoutHelper.cs
- ComponentFactoryHelpers.cs
- HttpRawResponse.cs
- StorageFunctionMapping.cs
- UnionCqlBlock.cs
- ManualResetEvent.cs
- SerializableAttribute.cs
- SchemaImporterExtensionElement.cs
- FreezableCollection.cs
- LinkButton.cs
- OrthographicCamera.cs
- StandardOleMarshalObject.cs
- NativeCppClassAttribute.cs
- SettingsContext.cs
- OrderedDictionary.cs
- _FixedSizeReader.cs