Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- XmlDataImplementation.cs
- EpmAttributeNameBuilder.cs
- HttpRawResponse.cs
- CubicEase.cs
- SpellerStatusTable.cs
- EditorOptionAttribute.cs
- CollectionViewProxy.cs
- SynchronizationContext.cs
- ActivationArguments.cs
- AutoResizedEvent.cs
- CalendarDay.cs
- Base64Encoder.cs
- TableItemPattern.cs
- SystemThemeKey.cs
- ActivityTypeResolver.xaml.cs
- TextClipboardData.cs
- ContextBase.cs
- CheckBoxRenderer.cs
- MasterPageCodeDomTreeGenerator.cs
- FileRegion.cs
- ContextMenu.cs
- SchemaImporterExtensionElement.cs
- ContainerUIElement3D.cs
- OwnerDrawPropertyBag.cs
- CodeIdentifiers.cs
- FixedSOMLineCollection.cs
- HttpListener.cs
- ChooseAction.cs
- TcpAppDomainProtocolHandler.cs
- GenericEnumerator.cs
- NonNullItemCollection.cs
- TreeNodeConverter.cs
- Single.cs
- IntegerValidatorAttribute.cs
- ExtensionSimplifierMarkupObject.cs
- Module.cs
- PropertyDescriptorComparer.cs
- MessageQueueTransaction.cs
- InvariantComparer.cs
- XmlSerializerSection.cs
- XmlSerializerSection.cs
- PathData.cs
- ProxyHelper.cs
- PanelStyle.cs
- Stylesheet.cs
- XmlHelper.cs
- LayoutEditorPart.cs
- DataKeyCollection.cs
- ViewStateChangedEventArgs.cs
- HtmlTitle.cs
- ContextBase.cs
- Condition.cs
- MultipleViewProviderWrapper.cs
- SqlFactory.cs
- PropertyGridEditorPart.cs
- DiscreteKeyFrames.cs
- ChangePassword.cs
- MessageTraceRecord.cs
- AnnotationHelper.cs
- Button.cs
- _ProxyRegBlob.cs
- Transform.cs
- Serializer.cs
- SeparatorAutomationPeer.cs
- DesignerSerializerAttribute.cs
- HostElement.cs
- QueryInterceptorAttribute.cs
- DrawListViewItemEventArgs.cs
- PathFigure.cs
- ClientSideProviderDescription.cs
- _SslStream.cs
- Point.cs
- ComIntegrationManifestGenerator.cs
- sqlmetadatafactory.cs
- XPathNode.cs
- RegisteredScript.cs
- TreeIterator.cs
- SymbolEqualComparer.cs
- EventlogProvider.cs
- TdsValueSetter.cs
- NonParentingControl.cs
- XmlWriter.cs
- EdmToObjectNamespaceMap.cs
- LiteralLink.cs
- SelectionEditor.cs
- activationcontext.cs
- ColumnMapCopier.cs
- InternalPermissions.cs
- CodeObject.cs
- PeerPresenceInfo.cs
- ProfileService.cs
- ReachSerializer.cs
- Signature.cs
- RequestResizeEvent.cs
- DecoratedNameAttribute.cs
- WindowsButton.cs
- DictionaryEditChange.cs
- PersonalizationAdministration.cs
- OdbcConnectionOpen.cs
- SettingsProviderCollection.cs