Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- WinFormsSecurity.cs
- TagPrefixInfo.cs
- FontUnit.cs
- ComboBox.cs
- BitmapEffectGeneralTransform.cs
- CapabilitiesRule.cs
- ThemeableAttribute.cs
- DataTransferEventArgs.cs
- FileAuthorizationModule.cs
- XmlDocumentFragment.cs
- ReadOnlyDataSource.cs
- TypeUsage.cs
- TreePrinter.cs
- DrawingCollection.cs
- DiscoveryEndpointElement.cs
- PolyBezierSegment.cs
- SimpleLine.cs
- SuspendDesigner.cs
- PersonalizationProviderHelper.cs
- DictionarySectionHandler.cs
- CodeVariableReferenceExpression.cs
- FixedTextContainer.cs
- PerSessionInstanceContextProvider.cs
- WebHostScriptMappingsInstallComponent.cs
- OperationContextScope.cs
- RawTextInputReport.cs
- ZipIOLocalFileBlock.cs
- OptimizedTemplateContent.cs
- CodeNamespaceCollection.cs
- RegexWorker.cs
- EntityCommand.cs
- HandlerBase.cs
- ConfigDefinitionUpdates.cs
- Helpers.cs
- Semaphore.cs
- ToolStripDropDownButton.cs
- BindableAttribute.cs
- XmlnsCompatibleWithAttribute.cs
- MonthChangedEventArgs.cs
- PropertyToken.cs
- PrintDialog.cs
- BinaryUtilClasses.cs
- ComponentDispatcher.cs
- PropertyMapper.cs
- FunctionParameter.cs
- ChildTable.cs
- XmlObjectSerializerReadContextComplex.cs
- ParserHooks.cs
- XMLSchema.cs
- KeyValueConfigurationCollection.cs
- OLEDB_Enum.cs
- InitializerFacet.cs
- ConnectionPoint.cs
- StdValidatorsAndConverters.cs
- PageContentAsyncResult.cs
- ApplicationId.cs
- TableRowCollection.cs
- ToolStripItem.cs
- DBCSCodePageEncoding.cs
- JoinCqlBlock.cs
- Calendar.cs
- CheckBoxList.cs
- ControlValuePropertyAttribute.cs
- RelationshipEnd.cs
- SamlEvidence.cs
- ObsoleteAttribute.cs
- CodeGotoStatement.cs
- VersionedStreamOwner.cs
- Rules.cs
- ExpanderAutomationPeer.cs
- SectionUpdates.cs
- MessageContractImporter.cs
- DesignerDataColumn.cs
- ValidationEventArgs.cs
- CompareValidator.cs
- RtfToXamlReader.cs
- SlotInfo.cs
- SqlDataRecord.cs
- ErrorWrapper.cs
- HttpModulesInstallComponent.cs
- PagePropertiesChangingEventArgs.cs
- WebPartTransformerAttribute.cs
- Win32MouseDevice.cs
- DetailsViewInsertEventArgs.cs
- DeadCharTextComposition.cs
- TableDetailsRow.cs
- PropertyPathConverter.cs
- SHA1CryptoServiceProvider.cs
- CodeIndexerExpression.cs
- ProgressPage.cs
- Types.cs
- LayoutEvent.cs
- CodeConditionStatement.cs
- MonthChangedEventArgs.cs
- MatrixCamera.cs
- BitmapEffectCollection.cs
- PreservationFileReader.cs
- InitializationEventAttribute.cs
- AppSettingsReader.cs
- VectorAnimationBase.cs