Class RadzenPickList<TItem>
RadzenCard component.
public class RadzenPickList<TItem> : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Type Parameters
TItem
- Inheritance
-
RadzenPickList<TItem>
- Implements
- Inherited Members
Constructors
RadzenPickList()
public RadzenPickList()
Properties
AllowFiltering
Gets or sets value if filtering is allowed.
[Parameter]
public bool AllowFiltering { get; set; }
Property Value
- bool
The allow filtering value.
ButtonGap
Gets or sets the buttons spacing
[Parameter]
public string ButtonGap { get; set; }
Property Value
- string
The buttons spacing.
ButtonJustifyContent
Gets or sets the buttons style
[Parameter]
public JustifyContent ButtonJustifyContent { get; set; }
Property Value
- JustifyContent
The buttons style.
ButtonShade
Gets or sets the color shade of the buttons.
[Parameter]
public Shade ButtonShade { get; set; }
Property Value
- Shade
The color shade of the buttons.
ButtonSize
Gets or sets the buttons size.
[Parameter]
public ButtonSize ButtonSize { get; set; }
Property Value
- ButtonSize
The buttons size.
ButtonStyle
Gets or sets the buttons style
[Parameter]
public ButtonStyle ButtonStyle { get; set; }
Property Value
- ButtonStyle
The buttons style.
ButtonVariant
Gets or sets the design variant of the buttons.
[Parameter]
public Variant ButtonVariant { get; set; }
Property Value
- Variant
The variant of the buttons.
Disabled
Gets or sets a value indicating whether component is disabled.
[Parameter]
public bool Disabled { get; set; }
Property Value
- bool
true
if component is disabled; otherwise,false
.
Multiple
Gets or sets a value indicating whether multiple selection is allowed.
[Parameter]
public bool Multiple { get; set; }
Property Value
- bool
true
if multiple selection is allowed; otherwise,false
.
Orientation
Gets or sets the orientation
[Parameter]
public Orientation Orientation { get; set; }
Property Value
- Orientation
The orientation.
SelectedSourceToTargetTitle
Gets or sets the selected source to target title
[Parameter]
public string SelectedSourceToTargetTitle { get; set; }
Property Value
- string
The selected source to target title.
SelectedTargetToSourceTitle
Gets or sets the selected target to source title
[Parameter]
public string SelectedTargetToSourceTitle { get; set; }
Property Value
- string
The selected target to source title.
ShowHeader
Gets or sets value if headers are shown.
[Parameter]
public bool ShowHeader { get; set; }
Property Value
- bool
If headers are shown value.
Source
Gets or sets the source collection.
[Parameter]
public IEnumerable<TItem> Source { get; set; }
Property Value
- IEnumerable<TItem>
The source collection.
SourceChanged
Gets or sets the source changed.
[Parameter]
public EventCallback<IEnumerable<TItem>> SourceChanged { get; set; }
Property Value
- EventCallback<IEnumerable<TItem>>
The source changed.
SourceHeader
Gets or sets the source header
[Parameter]
public RenderFragment SourceHeader { get; set; }
Property Value
- RenderFragment
The source header.
SourceToTargetTitle
Gets or sets the source to target title
[Parameter]
public string SourceToTargetTitle { get; set; }
Property Value
- string
The source to target title.
Target
Gets or sets the target collection.
[Parameter]
public IEnumerable<TItem> Target { get; set; }
Property Value
- IEnumerable<TItem>
The target collection.
TargetChanged
Gets or sets the target changed.
[Parameter]
public EventCallback<IEnumerable<TItem>> TargetChanged { get; set; }
Property Value
- EventCallback<IEnumerable<TItem>>
The target changed.
TargetHeader
Gets or sets the target header
[Parameter]
public RenderFragment TargetHeader { get; set; }
Property Value
- RenderFragment
The target header.
TargetToSourceTitle
Gets or sets the target to source title
[Parameter]
public string TargetToSourceTitle { get; set; }
Property Value
- string
The target to source title.
Template
Gets or sets the source template
[Parameter]
public RenderFragment<TItem> Template { get; set; }
Property Value
- RenderFragment<TItem>
The source template.
TextProperty
Gets or sets the text property
[Parameter]
public string TextProperty { get; set; }
Property Value
- string
The text property.
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
GetComponentCssClass()
protected override string GetComponentCssClass()
Returns
GetStyle()
Gets the final CSS style rendered by the component. Combines it with a style
custom attribute.
protected string GetStyle()
Returns
SetParametersAsync(ParameterView)
Set parameters as an asynchronous operation.
public override Task SetParametersAsync(ParameterView parameters)
Parameters
parameters
ParameterViewThe parameters.
Returns
- Task
A Task representing the asynchronous operation.