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
- ConfigPathUtility.cs
- FontStretchConverter.cs
- Brush.cs
- WebControlsSection.cs
- HtmlEmptyTagControlBuilder.cs
- X509CertificateCollection.cs
- AdRotator.cs
- ToggleButton.cs
- ComAwareEventInfo.cs
- EventPropertyMap.cs
- FixedStringLookup.cs
- VirtualizingPanel.cs
- ControlCachePolicy.cs
- SvcMapFileSerializer.cs
- QuestionEventArgs.cs
- PassportPrincipal.cs
- IndentedTextWriter.cs
- ClientApiGenerator.cs
- PrintPreviewGraphics.cs
- TypeAccessException.cs
- ObjectView.cs
- Underline.cs
- InternalControlCollection.cs
- SigningCredentials.cs
- PackageStore.cs
- CloudCollection.cs
- InvokeWebServiceDesigner.cs
- MetabaseSettingsIis7.cs
- wmiprovider.cs
- FixedSOMLineCollection.cs
- MessageEventSubscriptionService.cs
- NativeMethods.cs
- GridViewAutomationPeer.cs
- Emitter.cs
- FixUp.cs
- VisualStyleRenderer.cs
- WebPartsSection.cs
- ClientApiGenerator.cs
- RbTree.cs
- MachineSettingsSection.cs
- WindowsFormsHost.cs
- System.Data_BID.cs
- Serializer.cs
- TemplateControlBuildProvider.cs
- SimpleHandlerBuildProvider.cs
- XmlWrappingReader.cs
- ZipIOModeEnforcingStream.cs
- ExecutionProperties.cs
- VerificationException.cs
- ListViewDeleteEventArgs.cs
- HuffmanTree.cs
- SqlTransaction.cs
- SiteMapPathDesigner.cs
- TextRangeEdit.cs
- BuilderPropertyEntry.cs
- DynamicDocumentPaginator.cs
- AttachedPropertyDescriptor.cs
- HwndAppCommandInputProvider.cs
- StoreAnnotationsMap.cs
- Buffer.cs
- AnnotationAuthorChangedEventArgs.cs
- DescriptionAttribute.cs
- DataGridViewDataErrorEventArgs.cs
- JavaScriptSerializer.cs
- XslUrlEditor.cs
- TrackingProfileSerializer.cs
- FormClosingEvent.cs
- TraceContextEventArgs.cs
- CompiledIdentityConstraint.cs
- InvalidComObjectException.cs
- GlobalizationSection.cs
- ImmutableCollection.cs
- WmlCommandAdapter.cs
- Rectangle.cs
- WebPartConnectionsCloseVerb.cs
- ChangeTracker.cs
- CacheMemory.cs
- RepeatBehavior.cs
- BuildManager.cs
- WebPartVerbsEventArgs.cs
- ImageField.cs
- WebDescriptionAttribute.cs
- ResourceExpression.cs
- FlowLayoutSettings.cs
- UIElement3D.cs
- DataControlCommands.cs
- ColumnCollectionEditor.cs
- Drawing.cs
- AnimatedTypeHelpers.cs
- ContentPlaceHolderDesigner.cs
- CodeSnippetTypeMember.cs
- ReferencedType.cs
- ContainerFilterService.cs
- JulianCalendar.cs
- BinaryReader.cs
- SerializationInfo.cs
- ComplexObject.cs
- OleDbCommand.cs
- ToolStripControlHost.cs
- xdrvalidator.cs