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
- WindowsAuthenticationModule.cs
- TextContainerHelper.cs
- XsltContext.cs
- WsrmMessageInfo.cs
- PerformanceCounterPermissionEntry.cs
- DiagnosticTrace.cs
- LinkedResourceCollection.cs
- SmtpMail.cs
- PtsCache.cs
- EntryPointNotFoundException.cs
- HtmlEncodedRawTextWriter.cs
- CertificateManager.cs
- Debugger.cs
- Pens.cs
- CollectionViewGroupRoot.cs
- StylusCollection.cs
- TreeNodeStyle.cs
- CollectionView.cs
- CodeTypeReference.cs
- HtmlTableCell.cs
- EllipticalNodeOperations.cs
- RadialGradientBrush.cs
- TypeDescriptorFilterService.cs
- RenderData.cs
- TreeNodeCollection.cs
- QilParameter.cs
- NegationPusher.cs
- JulianCalendar.cs
- WebPartUtil.cs
- XPathEmptyIterator.cs
- PolyQuadraticBezierSegment.cs
- dsa.cs
- StandardCommands.cs
- TraceUtility.cs
- DataServiceQueryOfT.cs
- XmlNamespaceMapping.cs
- SortDescriptionCollection.cs
- ASCIIEncoding.cs
- FirstMatchCodeGroup.cs
- ClusterRegistryConfigurationProvider.cs
- DelegateHelpers.Generated.cs
- ObservableDictionary.cs
- ReadOnlyHierarchicalDataSourceView.cs
- DateTimeFormatInfoScanner.cs
- HostSecurityManager.cs
- ScriptManagerProxy.cs
- MailWriter.cs
- TemplateColumn.cs
- NavigationService.cs
- SecurityTokenResolver.cs
- WindowsListViewItemStartMenu.cs
- CollectionChangeEventArgs.cs
- DataGridCaption.cs
- InheritablePropertyChangeInfo.cs
- LinearGradientBrush.cs
- MonthCalendar.cs
- SerializationAttributes.cs
- HostDesigntimeLicenseContext.cs
- TimeStampChecker.cs
- CacheEntry.cs
- SkinIDTypeConverter.cs
- BrowserCapabilitiesFactory.cs
- WinInet.cs
- __ConsoleStream.cs
- SerializationFieldInfo.cs
- ControlCollection.cs
- Part.cs
- ProjectionCamera.cs
- SizeKeyFrameCollection.cs
- DataGridItem.cs
- HashHelper.cs
- Span.cs
- XmlAttribute.cs
- InstancePersistenceCommandException.cs
- AppDomain.cs
- BaseTemplateCodeDomTreeGenerator.cs
- AppSecurityManager.cs
- NativeMethods.cs
- StrongTypingException.cs
- ChildrenQuery.cs
- ServiceBehaviorElement.cs
- SchemaNames.cs
- WeakReadOnlyCollection.cs
- SingleTagSectionHandler.cs
- LayoutUtils.cs
- BooleanStorage.cs
- DependencySource.cs
- IsolatedStoragePermission.cs
- Camera.cs
- Splitter.cs
- hresults.cs
- HttpWriter.cs
- SqlRecordBuffer.cs
- DesignerActionPanel.cs
- SimpleWebHandlerParser.cs
- SystemInfo.cs
- RootAction.cs
- MouseEvent.cs
- FormViewCommandEventArgs.cs
- DeobfuscatingStream.cs