Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- ChangeInterceptorAttribute.cs
- Durable.cs
- ServicePointManager.cs
- QuaternionAnimationUsingKeyFrames.cs
- GridViewPageEventArgs.cs
- rsa.cs
- DBSqlParserTable.cs
- DockPanel.cs
- SchemaLookupTable.cs
- DateTimeStorage.cs
- BitmapEffectDrawing.cs
- RadioButtonBaseAdapter.cs
- ThreadSafeList.cs
- CultureTable.cs
- ObjectManager.cs
- DynamicRenderer.cs
- PasswordRecovery.cs
- ColorBlend.cs
- SqlDataReader.cs
- XmlSchemaSimpleTypeUnion.cs
- OpenFileDialog.cs
- HttpListenerResponse.cs
- DtrList.cs
- SystemThemeKey.cs
- AutomationElementCollection.cs
- CultureTable.cs
- XmlSchemaInclude.cs
- WebPartsPersonalizationAuthorization.cs
- HatchBrush.cs
- ParameterBuilder.cs
- ProtocolsSection.cs
- BitmapMetadataEnumerator.cs
- XmlSchemaSimpleType.cs
- Avt.cs
- GPRECT.cs
- EncoderFallback.cs
- DataSourceExpressionCollection.cs
- CodeSnippetExpression.cs
- InertiaRotationBehavior.cs
- XmlEnumAttribute.cs
- RuntimeEnvironment.cs
- ColorTranslator.cs
- SslStream.cs
- ConfigurationPropertyAttribute.cs
- tibetanshape.cs
- TreeView.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- DataGridViewColumnConverter.cs
- RenderData.cs
- QilXmlWriter.cs
- PrintDialog.cs
- BamlRecordWriter.cs
- CustomError.cs
- TemplatedMailWebEventProvider.cs
- SchemaCollectionPreprocessor.cs
- DataGridViewAutoSizeModeEventArgs.cs
- HMACSHA256.cs
- TextCharacters.cs
- TextViewBase.cs
- TaiwanCalendar.cs
- VariableModifiersHelper.cs
- TypeForwardedToAttribute.cs
- ControlIdConverter.cs
- PolicyLevel.cs
- SamlSecurityToken.cs
- EditorZone.cs
- AppModelKnownContentFactory.cs
- ChoiceConverter.cs
- BamlCollectionHolder.cs
- WebPartCloseVerb.cs
- AppDomainAttributes.cs
- ObjectMemberMapping.cs
- FocusChangedEventArgs.cs
- Tool.cs
- SamlSubjectStatement.cs
- ParallelActivityDesigner.cs
- DrawItemEvent.cs
- ListDataHelper.cs
- DataControlField.cs
- StructuredTypeInfo.cs
- XmlProcessingInstruction.cs
- Axis.cs
- GcHandle.cs
- NetworkInformationPermission.cs
- FixedSOMPageElement.cs
- DynamicMethod.cs
- MimeMapping.cs
- X509UI.cs
- DocumentAutomationPeer.cs
- UniqueConstraint.cs
- IdentityModelStringsVersion1.cs
- XmlDocumentSurrogate.cs
- DrawingImage.cs
- TrackPoint.cs
- PublishLicense.cs
- FixedFlowMap.cs
- KeyConstraint.cs
- BuildTopDownAttribute.cs
- XmlParserContext.cs
- KeyboardDevice.cs