Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- RenderOptions.cs
- BinaryReader.cs
- DynamicQueryableWrapper.cs
- NGCSerializationManager.cs
- PropertyToken.cs
- DataShape.cs
- InstancePersistenceContext.cs
- WindowsRegion.cs
- Stopwatch.cs
- StatusBarDesigner.cs
- NumericUpDownAccelerationCollection.cs
- PathSegmentCollection.cs
- SubMenuStyle.cs
- ArithmeticException.cs
- TextDecorationCollection.cs
- SqlConnection.cs
- EventSourceCreationData.cs
- Stacktrace.cs
- SingleTagSectionHandler.cs
- AnimatedTypeHelpers.cs
- TreeNode.cs
- TextContainerChangeEventArgs.cs
- VisualStyleRenderer.cs
- EntityDataSourceEntityTypeFilterItem.cs
- XamlToRtfWriter.cs
- SqlCacheDependencyDatabaseCollection.cs
- TextDecorationCollection.cs
- MultiPageTextView.cs
- CaseStatement.cs
- LabelLiteral.cs
- OneOfConst.cs
- KeyEventArgs.cs
- SystemInfo.cs
- ImageIndexEditor.cs
- SecurityPolicySection.cs
- SHA1Managed.cs
- SemanticKeyElement.cs
- ApplicationActivator.cs
- ContentTypeSettingClientMessageFormatter.cs
- DescendantOverDescendantQuery.cs
- StatusBarAutomationPeer.cs
- BCLDebug.cs
- ParameterReplacerVisitor.cs
- ResourceManagerWrapper.cs
- QueryOptionExpression.cs
- AttributeProviderAttribute.cs
- XmlReaderSettings.cs
- AnnotationHighlightLayer.cs
- ChildDocumentBlock.cs
- NullableDoubleSumAggregationOperator.cs
- SqlDataSourceCustomCommandPanel.cs
- ConstructorNeedsTagAttribute.cs
- MenuItemStyle.cs
- DataBindingValueUIHandler.cs
- MarkerProperties.cs
- ListDictionaryInternal.cs
- ProcessThreadCollection.cs
- FunctionQuery.cs
- Icon.cs
- EventListenerClientSide.cs
- HttpRuntime.cs
- XmlSchemaAll.cs
- DoneReceivingAsyncResult.cs
- VarRemapper.cs
- LabelDesigner.cs
- FontStretchConverter.cs
- FormViewDeleteEventArgs.cs
- EnumValidator.cs
- PersonalizationProviderCollection.cs
- RtfNavigator.cs
- PartBasedPackageProperties.cs
- DiscriminatorMap.cs
- CLSCompliantAttribute.cs
- BuildResult.cs
- UnknownWrapper.cs
- FixedSOMImage.cs
- SqlWorkflowInstanceStoreLock.cs
- MimeTypeMapper.cs
- SectionVisual.cs
- XPathNodeInfoAtom.cs
- SafeCertificateContext.cs
- ControlBindingsConverter.cs
- DbUpdateCommandTree.cs
- Table.cs
- SerializableAuthorizationContext.cs
- PartitionResolver.cs
- DataBoundLiteralControl.cs
- DataGridViewControlCollection.cs
- RadioButtonBaseAdapter.cs
- PropertyManager.cs
- XPathException.cs
- ServicesSection.cs
- SiteOfOriginContainer.cs
- CodeTypeOfExpression.cs
- OrderedDictionary.cs
- GenericAuthenticationEventArgs.cs
- InfoCardArgumentException.cs
- XDeferredAxisSource.cs
- SafePEFileHandle.cs
- HttpCachePolicy.cs