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
- QilValidationVisitor.cs
- MouseButton.cs
- SafeRightsManagementEnvironmentHandle.cs
- NullEntityWrapper.cs
- DesignerAttribute.cs
- ParameterRetriever.cs
- Vector3DValueSerializer.cs
- FrameworkElement.cs
- ListViewAutomationPeer.cs
- GuidConverter.cs
- ListViewCancelEventArgs.cs
- InfoCardTrace.cs
- BaseResourcesBuildProvider.cs
- ComponentEditorForm.cs
- ProcessHost.cs
- SubstitutionDesigner.cs
- ObjectComplexPropertyMapping.cs
- DataGridItemEventArgs.cs
- RelationshipDetailsRow.cs
- ScrollableControlDesigner.cs
- AssemblyBuilder.cs
- XamlBrushSerializer.cs
- GeometryHitTestResult.cs
- InternalCache.cs
- TabItemAutomationPeer.cs
- _OverlappedAsyncResult.cs
- SingleAnimationUsingKeyFrames.cs
- xmlfixedPageInfo.cs
- SQLBoolean.cs
- CompilerGlobalScopeAttribute.cs
- PrinterResolution.cs
- BindingMAnagerBase.cs
- DragDrop.cs
- CodeMethodReturnStatement.cs
- XomlCompilerHelpers.cs
- HandleCollector.cs
- ModelFactory.cs
- MimeObjectFactory.cs
- PenThreadWorker.cs
- SectionRecord.cs
- ToolBarOverflowPanel.cs
- TdsEnums.cs
- SqlColumnizer.cs
- SourceChangedEventArgs.cs
- RadioButtonPopupAdapter.cs
- SubMenuStyle.cs
- RadioButtonBaseAdapter.cs
- DataGridColumnEventArgs.cs
- ByteStreamMessageEncoderFactory.cs
- ToolStripTextBox.cs
- Label.cs
- BaseDataBoundControlDesigner.cs
- ToolStripOverflowButton.cs
- baseaxisquery.cs
- SerializationSectionGroup.cs
- TypeToken.cs
- BinaryQueryOperator.cs
- precedingsibling.cs
- ContentType.cs
- Panel.cs
- DataGridColumn.cs
- CodeGen.cs
- EntityDataSourceViewSchema.cs
- IImplicitResourceProvider.cs
- EdgeModeValidation.cs
- AsyncCompletedEventArgs.cs
- ScriptComponentDescriptor.cs
- TextRangeEdit.cs
- SecurityElement.cs
- ColorAnimation.cs
- WebPartCancelEventArgs.cs
- CounterSample.cs
- SafeNativeMethodsOther.cs
- AutomationFocusChangedEventArgs.cs
- NativeMethods.cs
- ExternalException.cs
- newinstructionaction.cs
- RadioButtonAutomationPeer.cs
- SourceInterpreter.cs
- DependencyProperty.cs
- VisualBrush.cs
- PlainXmlDeserializer.cs
- ProcessModelInfo.cs
- CacheHelper.cs
- WinFormsSecurity.cs
- ToolStripItemGlyph.cs
- NamespaceInfo.cs
- UnsafeNativeMethodsTablet.cs
- DataConnectionHelper.cs
- DoubleKeyFrameCollection.cs
- CommandDevice.cs
- ServiceNameElement.cs
- RadioButtonFlatAdapter.cs
- DocumentGrid.cs
- GridViewEditEventArgs.cs
- WorkflowViewElement.cs
- CodeTypeDelegate.cs
- UnsafeNativeMethods.cs
- ComponentDispatcher.cs
- ThemeDictionaryExtension.cs