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
- SiteMapDataSource.cs
- HostProtectionException.cs
- HtmlTernaryTree.cs
- MissingSatelliteAssemblyException.cs
- DesignerExtenders.cs
- oledbmetadatacolumnnames.cs
- MenuCommands.cs
- ConfigXmlElement.cs
- SerializerWriterEventHandlers.cs
- EdmProviderManifest.cs
- WriterOutput.cs
- SQLDateTimeStorage.cs
- SqlTopReducer.cs
- TemplateComponentConnector.cs
- CFGGrammar.cs
- PriorityChain.cs
- EntityReference.cs
- RecordConverter.cs
- DrawListViewColumnHeaderEventArgs.cs
- CultureTableRecord.cs
- PagesSection.cs
- XmlSchemaSimpleTypeRestriction.cs
- AuthenticationService.cs
- DiscardableAttribute.cs
- Style.cs
- CatalogPartChrome.cs
- DiscoveryExceptionDictionary.cs
- VariableQuery.cs
- Exceptions.cs
- DeviceContexts.cs
- DataGridViewColumnConverter.cs
- DataSetFieldSchema.cs
- PrimitiveCodeDomSerializer.cs
- TrackingProfileDeserializationException.cs
- ClientSettingsStore.cs
- Triplet.cs
- GiveFeedbackEvent.cs
- SendKeys.cs
- PropertyDescriptorComparer.cs
- DoubleSumAggregationOperator.cs
- SystemUdpStatistics.cs
- SecurityTokenResolver.cs
- Quaternion.cs
- ListViewGroup.cs
- PathParser.cs
- ZoneMembershipCondition.cs
- SQLInt16.cs
- GeneralTransformGroup.cs
- TranslateTransform3D.cs
- PrintEvent.cs
- HitTestWithGeometryDrawingContextWalker.cs
- FixedSOMGroup.cs
- Nullable.cs
- SerializationIncompleteException.cs
- SerializationEventsCache.cs
- Matrix3DStack.cs
- ReceiveMessageRecord.cs
- PageThemeParser.cs
- ToolStripItemTextRenderEventArgs.cs
- ScriptControl.cs
- ChildChangedEventArgs.cs
- ImageList.cs
- Msec.cs
- FileSystemEventArgs.cs
- FeatureSupport.cs
- SQLDateTime.cs
- RectAnimation.cs
- OdbcException.cs
- Brush.cs
- ReflectionUtil.cs
- CodeAttributeDeclaration.cs
- QueueProcessor.cs
- LocalValueEnumerator.cs
- QueryCursorEventArgs.cs
- _CommandStream.cs
- XPathMultyIterator.cs
- XamlReaderHelper.cs
- AnnotationResource.cs
- Solver.cs
- ValidationHelpers.cs
- GeometryHitTestResult.cs
- OleDbParameter.cs
- XmlTypeMapping.cs
- SqlBuffer.cs
- ToolStripSettings.cs
- CfgParser.cs
- StreamFormatter.cs
- XmlObjectSerializerWriteContextComplex.cs
- WebPartHelpVerb.cs
- Point4D.cs
- ImplicitInputBrush.cs
- documentsequencetextcontainer.cs
- WebZone.cs
- GPRECT.cs
- HtmlString.cs
- UnmanagedMarshal.cs
- TiffBitmapDecoder.cs
- ScriptingProfileServiceSection.cs
- TextAnchor.cs