Szerkesztés

Megosztás a következőn keresztül:


DataViewSetting Class

Definition

Represents the default settings for ApplyDefaultSort, DataViewManager, RowFilter, RowStateFilter, Sort, and Table for DataViews created from the DataViewManager.

public ref class DataViewSetting
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))]
public class DataViewSetting
public class DataViewSetting
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))]
[System.Serializable]
public class DataViewSetting
[<System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))>]
type DataViewSetting = class
type DataViewSetting = class
[<System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))>]
[<System.Serializable>]
type DataViewSetting = class
Public Class DataViewSetting
Inheritance
DataViewSetting
Attributes

Properties

ApplyDefaultSort

Gets or sets a value indicating whether to use the default sort.

DataViewManager

Gets the DataViewManager that contains this DataViewSetting.

RowFilter

Gets or sets the filter to apply in the DataView. See RowFilter for a code sample using RowFilter.

RowStateFilter

Gets or sets a value indicating whether to display Current, Deleted, Modified Current, ModifiedOriginal, New, Original, Unchanged, or no rows in the DataView.

Sort

Gets or sets a value indicating the sort to apply in the DataView.

Table

Gets the DataTable to which the DataViewSetting properties apply.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

Thread Safety

This type is safe for multithreaded read operations. You must synchronize any write operations.