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
- DependsOnAttribute.cs
- TextCollapsingProperties.cs
- AnnotationComponentChooser.cs
- CacheEntry.cs
- ControlLocalizer.cs
- HyperLinkField.cs
- FileDataSource.cs
- Visual3D.cs
- RtfToXamlReader.cs
- XmlParserContext.cs
- BaseProcessor.cs
- BinaryConverter.cs
- HttpHandlersSection.cs
- UrlAuthFailedErrorFormatter.cs
- StrongBox.cs
- TabControlCancelEvent.cs
- NetDispatcherFaultException.cs
- TextRangeBase.cs
- UncommonField.cs
- X509CertificateStore.cs
- ActiveDocumentEvent.cs
- DataGridCellEditEndingEventArgs.cs
- _ChunkParse.cs
- MediaScriptCommandRoutedEventArgs.cs
- SQLInt32Storage.cs
- MessageFault.cs
- ModuleElement.cs
- FontStretches.cs
- RoutingSection.cs
- HttpListenerRequest.cs
- Stack.cs
- XmlWriterDelegator.cs
- ButtonPopupAdapter.cs
- FilterException.cs
- VisualStyleElement.cs
- TemplatePartAttribute.cs
- Container.cs
- ImageMetadata.cs
- ProxyAssemblyNotLoadedException.cs
- EventListener.cs
- InstanceKey.cs
- BaseCollection.cs
- initElementDictionary.cs
- unsafenativemethodsother.cs
- ToolStripScrollButton.cs
- TextSelection.cs
- DebuggerService.cs
- XPathException.cs
- DictionaryEntry.cs
- WebWorkflowRole.cs
- AttachInfo.cs
- Emitter.cs
- Visual.cs
- ISAPIApplicationHost.cs
- DataObjectEventArgs.cs
- TypeInfo.cs
- nulltextnavigator.cs
- ItemsControl.cs
- SpecialFolderEnumConverter.cs
- CodeMemberField.cs
- DebugTracing.cs
- CharacterString.cs
- DataColumnPropertyDescriptor.cs
- UMPAttributes.cs
- DropTarget.cs
- activationcontext.cs
- HttpConfigurationSystem.cs
- DesignerAttributeInfo.cs
- DuplicateMessageDetector.cs
- OdbcEnvironment.cs
- Vector3DCollectionValueSerializer.cs
- UIElement.cs
- AdCreatedEventArgs.cs
- DataPagerCommandEventArgs.cs
- DocumentsTrace.cs
- DesignerDataConnection.cs
- MimeTypeAttribute.cs
- ValidationErrorInfo.cs
- Pen.cs
- FilterException.cs
- SoundPlayer.cs
- DataBindingHandlerAttribute.cs
- WebCategoryAttribute.cs
- WpfWebRequestHelper.cs
- ListSortDescription.cs
- NotifyIcon.cs
- JoinCqlBlock.cs
- FixedSOMPage.cs
- MaskedTextBox.cs
- WCFModelStrings.Designer.cs
- BindingMemberInfo.cs
- CallbackValidator.cs
- JapaneseCalendar.cs
- Animatable.cs
- CompositeFontFamily.cs
- SrgsDocument.cs
- KeyFrames.cs
- ThrowHelper.cs
- OdbcInfoMessageEvent.cs
- ServiceBusyException.cs