Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridViewCellStyleContentChangedEventArgs.cs / 1 / DataGridViewCellStyleContentChangedEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms
{
///
public class DataGridViewCellStyleContentChangedEventArgs : EventArgs
{
private DataGridViewCellStyle dataGridViewCellStyle;
private bool changeAffectsPreferredSize;
internal DataGridViewCellStyleContentChangedEventArgs(DataGridViewCellStyle dataGridViewCellStyle, bool changeAffectsPreferredSize)
{
this.dataGridViewCellStyle = dataGridViewCellStyle;
this.changeAffectsPreferredSize = changeAffectsPreferredSize;
}
///
public DataGridViewCellStyle CellStyle
{
get
{
return this.dataGridViewCellStyle;
}
}
///
public DataGridViewCellStyleScopes CellStyleScope
{
get
{
return this.dataGridViewCellStyle.Scope;
}
}
internal bool ChangeAffectsPreferredSize
{
get
{
return this.changeAffectsPreferredSize;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms
{
///
public class DataGridViewCellStyleContentChangedEventArgs : EventArgs
{
private DataGridViewCellStyle dataGridViewCellStyle;
private bool changeAffectsPreferredSize;
internal DataGridViewCellStyleContentChangedEventArgs(DataGridViewCellStyle dataGridViewCellStyle, bool changeAffectsPreferredSize)
{
this.dataGridViewCellStyle = dataGridViewCellStyle;
this.changeAffectsPreferredSize = changeAffectsPreferredSize;
}
///
public DataGridViewCellStyle CellStyle
{
get
{
return this.dataGridViewCellStyle;
}
}
///
public DataGridViewCellStyleScopes CellStyleScope
{
get
{
return this.dataGridViewCellStyle.Scope;
}
}
internal bool ChangeAffectsPreferredSize
{
get
{
return this.changeAffectsPreferredSize;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PersonalizationState.cs
- Cursor.cs
- WorkflowPersistenceService.cs
- GridView.cs
- UnsafeNativeMethods.cs
- HttpValueCollection.cs
- DeviceContext2.cs
- RangeValuePatternIdentifiers.cs
- XmlSchemaImporter.cs
- DockProviderWrapper.cs
- CopyCodeAction.cs
- CngUIPolicy.cs
- TextClipboardData.cs
- DriveInfo.cs
- ViewStateModeByIdAttribute.cs
- NumberSubstitution.cs
- OdbcErrorCollection.cs
- SmiGettersStream.cs
- SystemIcons.cs
- GroupQuery.cs
- DataContractSerializer.cs
- TextBlock.cs
- DataContract.cs
- LockedActivityGlyph.cs
- BufferAllocator.cs
- XmlObjectSerializer.cs
- PeerCollaboration.cs
- LinqDataSourceSelectEventArgs.cs
- ListViewDeleteEventArgs.cs
- AnnotationResourceChangedEventArgs.cs
- PixelFormatConverter.cs
- RawUIStateInputReport.cs
- WebPartDisplayModeCancelEventArgs.cs
- MouseActionConverter.cs
- DashStyle.cs
- PageRanges.cs
- MethodRental.cs
- InputLangChangeEvent.cs
- NameObjectCollectionBase.cs
- Expression.cs
- Attributes.cs
- IdentityManager.cs
- ObjectMaterializedEventArgs.cs
- PolicyManager.cs
- XslNumber.cs
- SourceItem.cs
- ToolboxItemFilterAttribute.cs
- SmiEventSink_Default.cs
- LocalizedNameDescriptionPair.cs
- XmlSchemaCollection.cs
- CheckBoxFlatAdapter.cs
- ProcessThreadCollection.cs
- RichListBox.cs
- DictionaryCustomTypeDescriptor.cs
- Point3DCollection.cs
- followingquery.cs
- DescriptionAttribute.cs
- Claim.cs
- GetIndexBinder.cs
- PointConverter.cs
- ServiceModelSecurityTokenTypes.cs
- AutoResetEvent.cs
- SqlColumnizer.cs
- ThreadStartException.cs
- CommandDevice.cs
- DataError.cs
- TextEditorCharacters.cs
- AsynchronousChannel.cs
- SecurityRuntime.cs
- StandardToolWindows.cs
- TdsEnums.cs
- RoutedUICommand.cs
- OperatingSystem.cs
- WebPartDisplayModeCollection.cs
- HwndHostAutomationPeer.cs
- SoundPlayer.cs
- SqlCommandAsyncResult.cs
- CompositeTypefaceMetrics.cs
- followingquery.cs
- WebBrowserHelper.cs
- InternalsVisibleToAttribute.cs
- DesignTimeXamlWriter.cs
- DataGridCellsPanel.cs
- CreateWorkflowOwnerCommand.cs
- ResourceCategoryAttribute.cs
- TransactionWaitAsyncResult.cs
- SByteStorage.cs
- ReliableSessionElement.cs
- CookielessHelper.cs
- TimeoutHelper.cs
- RuntimeCompatibilityAttribute.cs
- BaseInfoTable.cs
- RuleAction.cs
- MostlySingletonList.cs
- HtmlForm.cs
- PrintControllerWithStatusDialog.cs
- ObjectPersistData.cs
- Options.cs
- ShapeTypeface.cs
- SparseMemoryStream.cs