RadDataFilter
Displays a hierarchical collection of filter expressions.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
[TelerikToolboxCategory("Data Controls")]
public class RadDataFilter : RadTreeView, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider, IFilterable, ISupportRootUIAutomation
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadTreeViewRadDataFilter...
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadDataFilter class.
public RadDataFilter()
Properties
Gets or sets a value indicating whether adding new nodes is allowed.
public override bool AllowAdd { get; set; }
true if [allow edit]; otherwise, false.
Overrides:
Gets or sets a value indicating whether drag and drop operation with RadDataFilter nodes is enabled.
public override bool AllowDragDrop { get; set; }
The default value is false.
Overrides:
Gets or sets a value indicating whether editing is allowed.
public override bool AllowEdit { get; set; }
true if [allow edit]; otherwise, false.
Overrides:
Gets or sets a value indicating whether removing nodes is allowed.
public override bool AllowRemove { get; set; }
true if [allow edit]; otherwise, false.
Overrides:
Gets or sets the auto generate descriptor items.
public bool AutoGenerateDescriptorItems { get; set; }
The auto generate descriptor items.
Gets the data filter element.
public RadDataFilterElement DataFilterElement { get; }
The data filter element.
Gets or sets the data source that the RadDataFilter is displaying filters for.
public override object DataSource { get; set; }
Overrides:
Gets the default size of the control.
protected override Size DefaultSize { get; }
Overrides:
A collection of descriptor items used to identify the property names and their corresponding types.
public DataFilterItemOwnerCollection Descriptors { get; }
Gets or sets the expression.
public string Expression { get; set; }
The expression.
Gets or sets a value indicating how the field names are sorted when SortFieldNames is true.
public SortStyle FieldNamesSortStyle { get; set; }
Gets or sets the height of the item.
[Browsable(false)]
public override int ItemHeight { get; set; }
The height of the item.
Overrides:
Gets or sets the color of the line.
public override Color LineColor { get; set; }
The color of the line.
Overrides:
Gets or sets the line style.
public override TreeLineStyle LineStyle { get; set; }
A TreeLineStyle that represents the style used for the lines between the nodes. The default is TreeLineStyle.
Overrides:
Gets the collection of tree nodes.
[Browsable(false)]
public override RadTreeNodeCollection Nodes { get; }
A System.Windows.Forms.TreeNodeCollection that represents the tree nodes assigned to the data filter control.
Overrides:
Gets or sets a value indicating whether [show lines].
public override bool ShowLines { get; set; }
true if [show lines]; otherwise, false.
Overrides:
Gets or sets a value indicating whether the name of fields in fields drop down should be sorted.
public bool SortFieldNames { get; set; }
Gets or sets a value indicating the default tree view toggle mode.
public override ToggleMode ToggleMode { get; set; }
Overrides:
Methods
Applies the filter to the DataSource.
public void ApplyFilter()
Creates and returns a new instance of the tree view element for data filtering.
protected override RadTreeViewElement CreateTreeViewElement()
A new RadDataFilterElement instance.
Overrides:
Signals the object that initialization is complete.
public override void EndInit()
Overrides:
Saves the XML with writer.
protected override void SaveXMLWithWriter(TextWriter writer, params Type[] extraTypes)
The writer.
extraTypesType[]The extra types.
Overrides:
Events
Occurs when a property text is about to be displayed on the screen. Allows the developer to substitute property names with user-friendly display strings.
public event PropertyDisplayNameNeededEventHandler PropertyDisplayNameNeeded