Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- XomlCompilerError.cs
- Msec.cs
- DynamicPropertyHolder.cs
- InstancePersistenceContext.cs
- SqlClientWrapperSmiStreamChars.cs
- SQLBinaryStorage.cs
- SQLInt64.cs
- ProcessModule.cs
- SqlBulkCopyColumnMappingCollection.cs
- DesigntimeLicenseContextSerializer.cs
- SetterBase.cs
- ProcessHostFactoryHelper.cs
- SqlErrorCollection.cs
- BufferModeSettings.cs
- XmlSchemas.cs
- CompleteWizardStep.cs
- BigInt.cs
- XamlStackWriter.cs
- InvokeProviderWrapper.cs
- GeometryHitTestResult.cs
- DiscoveryDocumentLinksPattern.cs
- Monitor.cs
- ReferencedType.cs
- HwndMouseInputProvider.cs
- XmlMembersMapping.cs
- TrackingStringDictionary.cs
- CqlParser.cs
- CFStream.cs
- SqlFunctionAttribute.cs
- SchemaInfo.cs
- SettingsProperty.cs
- MissingSatelliteAssemblyException.cs
- Expression.cs
- ContextBase.cs
- DataGridToolTip.cs
- SqlDataSourceView.cs
- WindowsAuthenticationModule.cs
- Vector3DValueSerializer.cs
- PrinterResolution.cs
- BevelBitmapEffect.cs
- TabItem.cs
- ObjectHelper.cs
- PermissionListSet.cs
- OptimalBreakSession.cs
- AgileSafeNativeMemoryHandle.cs
- MessageQueueTransaction.cs
- ValidationResult.cs
- Tile.cs
- WhitespaceSignificantCollectionAttribute.cs
- SoapObjectInfo.cs
- StatusBarItemAutomationPeer.cs
- DataObjectAttribute.cs
- base64Transforms.cs
- SqlInfoMessageEvent.cs
- BuildResultCache.cs
- HtmlLiteralTextAdapter.cs
- ListViewTableCell.cs
- TabOrder.cs
- MediaElement.cs
- HttpCacheVary.cs
- TextServicesProperty.cs
- XmlSchemaGroup.cs
- LogReservationCollection.cs
- XamlPathDataSerializer.cs
- WebConfigManager.cs
- PropVariant.cs
- EpmCustomContentDeSerializer.cs
- Object.cs
- XsdBuilder.cs
- XmlILIndex.cs
- ColumnCollection.cs
- Error.cs
- SourceFileInfo.cs
- MemberExpression.cs
- DependencyObjectType.cs
- BaseContextMenu.cs
- VirtualizingStackPanel.cs
- LoginName.cs
- CustomWebEventKey.cs
- SessionStateContainer.cs
- TypeViewSchema.cs
- PipelineModuleStepContainer.cs
- PersonalizationProviderHelper.cs
- DLinqTableProvider.cs
- FloaterParaClient.cs
- ListViewItem.cs
- CategoryNameCollection.cs
- WorkflowServiceOperationListItem.cs
- storepermission.cs
- IMembershipProvider.cs
- StylusPoint.cs
- PreservationFileReader.cs
- WebDisplayNameAttribute.cs
- NativeMethods.cs
- TableAdapterManagerGenerator.cs
- GenericTypeParameterBuilder.cs
- SharedPersonalizationStateInfo.cs
- PhysicalAddress.cs
- ExitEventArgs.cs
- IdentityModelDictionary.cs