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
- PageAsyncTask.cs
- ScaleTransform3D.cs
- DebugViewWriter.cs
- StatusBarItemAutomationPeer.cs
- EntityTypeEmitter.cs
- CultureTable.cs
- CommentEmitter.cs
- AssemblySettingAttributes.cs
- SoapInteropTypes.cs
- CalendarItem.cs
- Dump.cs
- IndexedSelectQueryOperator.cs
- StandardBindingCollectionElement.cs
- FullTextState.cs
- CodePropertyReferenceExpression.cs
- TextRangeEdit.cs
- CommandValueSerializer.cs
- BamlRecords.cs
- RectAnimationUsingKeyFrames.cs
- CacheOutputQuery.cs
- WmlImageAdapter.cs
- DrawingImage.cs
- PickBranchDesigner.xaml.cs
- XmlStringTable.cs
- AnimationClock.cs
- Solver.cs
- CleanUpVirtualizedItemEventArgs.cs
- RelatedEnd.cs
- OrderedDictionary.cs
- ResourceDescriptionAttribute.cs
- InputLangChangeEvent.cs
- SystemIPAddressInformation.cs
- TableParaClient.cs
- ProxyHwnd.cs
- SystemFonts.cs
- TabControlCancelEvent.cs
- EncryptedHeader.cs
- NativeMethods.cs
- BindingSourceDesigner.cs
- DbConnectionPoolGroupProviderInfo.cs
- ObsoleteAttribute.cs
- Privilege.cs
- CompressStream.cs
- AdCreatedEventArgs.cs
- IdentityHolder.cs
- WindowsFormsHostPropertyMap.cs
- PartialArray.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- WebServiceClientProxyGenerator.cs
- ScriptRegistrationManager.cs
- ValidationError.cs
- WebScriptEndpointElement.cs
- NativeMethodsOther.cs
- TemplateField.cs
- Hashtable.cs
- WebPartCancelEventArgs.cs
- ScriptManager.cs
- PtsHelper.cs
- ProcessInfo.cs
- TextRunCacheImp.cs
- SymmetricSecurityBindingElement.cs
- SecurityKeyIdentifier.cs
- ToolStripContextMenu.cs
- PointValueSerializer.cs
- VerificationException.cs
- ToolBarPanel.cs
- SourceFileInfo.cs
- PieceDirectory.cs
- AttachedPropertyBrowsableAttribute.cs
- ObjectParameterCollection.cs
- CachedTypeface.cs
- MultiView.cs
- BooleanSwitch.cs
- ReplacementText.cs
- PropertySegmentSerializer.cs
- ByteRangeDownloader.cs
- MouseDevice.cs
- InfoCardAsymmetricCrypto.cs
- StrokeNode.cs
- WindowsFormsEditorServiceHelper.cs
- Point.cs
- SoapFault.cs
- ProvideValueServiceProvider.cs
- WebPartHeaderCloseVerb.cs
- EventSetterHandlerConverter.cs
- List.cs
- InheritablePropertyChangeInfo.cs
- FlowDocumentPage.cs
- Clause.cs
- ViewLoader.cs
- Compress.cs
- DefaultProxySection.cs
- DocumentApplicationJournalEntry.cs
- Encoder.cs
- BinaryParser.cs
- SpeakCompletedEventArgs.cs
- DoubleLinkListEnumerator.cs
- DocumentGrid.cs
- LoginUtil.cs
- IssuedTokenClientElement.cs