Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Controls / DataGridBeginningEditEventArgs.cs / 1305600 / DataGridBeginningEditEventArgs.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; using System.Windows; using System.Windows.Input; namespace System.Windows.Controls { ////// Provides information just before a cell enters edit mode. /// public class DataGridBeginningEditEventArgs : EventArgs { ////// Instantiates a new instance of this class. /// /// The column of the cell that is about to enter edit mode. /// The row container of the cell container that is about to enter edit mode. /// The event arguments, if any, that led to the cell entering edit mode. public DataGridBeginningEditEventArgs(DataGridColumn column, DataGridRow row, RoutedEventArgs editingEventArgs) { _dataGridColumn = column; _dataGridRow = row; _editingEventArgs = editingEventArgs; } ////// When true, prevents the cell from entering edit mode. /// public bool Cancel { get { return _cancel; } set { _cancel = value; } } ////// The column of the cell that is about to enter edit mode. /// public DataGridColumn Column { get { return _dataGridColumn; } } ////// The row container of the cell container that is about to enter edit mode. /// public DataGridRow Row { get { return _dataGridRow; } } ////// Event arguments, if any, that led to the cell entering edit mode. /// public RoutedEventArgs EditingEventArgs { get { return _editingEventArgs; } } private bool _cancel; private DataGridColumn _dataGridColumn; private DataGridRow _dataGridRow; private RoutedEventArgs _editingEventArgs; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; using System.Windows; using System.Windows.Input; namespace System.Windows.Controls { ////// Provides information just before a cell enters edit mode. /// public class DataGridBeginningEditEventArgs : EventArgs { ////// Instantiates a new instance of this class. /// /// The column of the cell that is about to enter edit mode. /// The row container of the cell container that is about to enter edit mode. /// The event arguments, if any, that led to the cell entering edit mode. public DataGridBeginningEditEventArgs(DataGridColumn column, DataGridRow row, RoutedEventArgs editingEventArgs) { _dataGridColumn = column; _dataGridRow = row; _editingEventArgs = editingEventArgs; } ////// When true, prevents the cell from entering edit mode. /// public bool Cancel { get { return _cancel; } set { _cancel = value; } } ////// The column of the cell that is about to enter edit mode. /// public DataGridColumn Column { get { return _dataGridColumn; } } ////// The row container of the cell container that is about to enter edit mode. /// public DataGridRow Row { get { return _dataGridRow; } } ////// Event arguments, if any, that led to the cell entering edit mode. /// public RoutedEventArgs EditingEventArgs { get { return _editingEventArgs; } } private bool _cancel; private DataGridColumn _dataGridColumn; private DataGridRow _dataGridRow; private RoutedEventArgs _editingEventArgs; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XsltException.cs
- SoapElementAttribute.cs
- ObjectDataSourceStatusEventArgs.cs
- LassoSelectionBehavior.cs
- ServicesExceptionNotHandledEventArgs.cs
- RequestCachingSection.cs
- ScriptMethodAttribute.cs
- CodeMemberEvent.cs
- DataRowChangeEvent.cs
- Freezable.cs
- UIElement.cs
- CompiledQueryCacheKey.cs
- WorkflowControlEndpoint.cs
- RsaElement.cs
- ControlValuePropertyAttribute.cs
- ComponentResourceKeyConverter.cs
- X509UI.cs
- IOException.cs
- TransactionFlowBindingElement.cs
- SessionStateModule.cs
- HttpPostedFileBase.cs
- LambdaCompiler.Generated.cs
- NonClientArea.cs
- Boolean.cs
- ScriptControlManager.cs
- MultiAsyncResult.cs
- XmlTypeMapping.cs
- ErrorStyle.cs
- SchemaComplexType.cs
- InternalConfigRoot.cs
- CodeSnippetTypeMember.cs
- SrgsText.cs
- querybuilder.cs
- DbParameterCollection.cs
- LinkButton.cs
- PointCollection.cs
- ParameterReplacerVisitor.cs
- RenamedEventArgs.cs
- HtmlToClrEventProxy.cs
- QueryOutputWriter.cs
- SoapIgnoreAttribute.cs
- OracleDataAdapter.cs
- WebPartManager.cs
- sitestring.cs
- SystemIPAddressInformation.cs
- OdbcDataReader.cs
- XhtmlConformanceSection.cs
- Symbol.cs
- DescriptionAttribute.cs
- Lazy.cs
- GuidConverter.cs
- TypedDatasetGenerator.cs
- HelpFileFileNameEditor.cs
- BamlLocalizationDictionary.cs
- FixedFlowMap.cs
- XmlAnyElementAttribute.cs
- ClientTargetSection.cs
- XmlEnumAttribute.cs
- AlphabeticalEnumConverter.cs
- LayoutTable.cs
- GroupLabel.cs
- MdImport.cs
- CopyAttributesAction.cs
- GeneratedView.cs
- TypeExtension.cs
- XamlParser.cs
- CompositeFontInfo.cs
- XmlImplementation.cs
- RequestChannelBinder.cs
- DBPropSet.cs
- SqlInternalConnectionSmi.cs
- PackagePart.cs
- EntityDataSourceReferenceGroup.cs
- ChtmlTextBoxAdapter.cs
- StrongNamePublicKeyBlob.cs
- UIElementIsland.cs
- MemberAccessException.cs
- Site.cs
- CodeSnippetTypeMember.cs
- typedescriptorpermission.cs
- ToolStripRenderer.cs
- WindowClosedEventArgs.cs
- SoapRpcMethodAttribute.cs
- ObjRef.cs
- GrammarBuilderWildcard.cs
- ButtonFieldBase.cs
- ExecutionPropertyManager.cs
- DesignerDataView.cs
- XmlSchemaDocumentation.cs
- CapiNative.cs
- SerTrace.cs
- CloudCollection.cs
- DefaultTraceListener.cs
- EventLogPropertySelector.cs
- DetailsViewCommandEventArgs.cs
- BaseDataListDesigner.cs
- QueryStringParameter.cs
- UserControl.cs
- EUCJPEncoding.cs
- QuadTree.cs