Class RadzenPickList<TItem>
RadzenCard component.
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenPickList<TItem> : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Type Parameters
Name | Description |
---|---|
TItem |
Constructors
RadzenPickList()
RadzenCard component.
Declaration
public RadzenPickList()
Properties
AllowFiltering
Gets or sets value if filtering is allowed.
Declaration
[Parameter]
public bool AllowFiltering { get; set; }
Property Value
Type | Description |
---|---|
bool | The allow filtering value. |
AllowMoveAll
Gets or sets a value indicating whether it is allowed to move all items.
Declaration
[Parameter]
public bool AllowMoveAll { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
AllowMoveAllSourceToTarget
Gets or sets a value indicating whether it is allowed to move all items from source to target.
Declaration
[Parameter]
public bool AllowMoveAllSourceToTarget { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
AllowMoveAllTargetToSource
Gets or sets a value indicating whether it is allowed to move all items from target to source.
Declaration
[Parameter]
public bool AllowMoveAllTargetToSource { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
AllowSelectAll
Gets or sets a value indicating whether selecting all items is allowed.
Declaration
[Parameter]
public bool AllowSelectAll { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
ButtonGap
Gets or sets the buttons spacing
Declaration
[Parameter]
public string ButtonGap { get; set; }
Property Value
Type | Description |
---|---|
string | The buttons spacing. |
ButtonJustifyContent
Gets or sets the buttons style
Declaration
[Parameter]
public JustifyContent ButtonJustifyContent { get; set; }
Property Value
Type | Description |
---|---|
JustifyContent | The buttons style. |
ButtonShade
Gets or sets the color shade of the buttons.
Declaration
[Parameter]
public Shade ButtonShade { get; set; }
Property Value
Type | Description |
---|---|
Shade | The color shade of the buttons. |
ButtonSize
Gets or sets the buttons size.
Declaration
[Parameter]
public ButtonSize ButtonSize { get; set; }
Property Value
Type | Description |
---|---|
ButtonSize | The buttons size. |
ButtonStyle
Gets or sets the buttons style
Declaration
[Parameter]
public ButtonStyle ButtonStyle { get; set; }
Property Value
Type | Description |
---|---|
ButtonStyle | The buttons style. |
ButtonVariant
Gets or sets the design variant of the buttons.
Declaration
[Parameter]
public Variant ButtonVariant { get; set; }
Property Value
Type | Description |
---|---|
Variant | The variant of the buttons. |
Disabled
Gets or sets a value indicating whether component is disabled.
Declaration
[Parameter]
public bool Disabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
DisabledProperty
Gets or sets the disabled property
Declaration
[Parameter]
public string DisabledProperty { get; set; }
Property Value
Type | Description |
---|---|
string | The disabled property. |
ItemRender
Gets or sets the row render callback. Use it to set row attributes.
Declaration
[Parameter]
public Action<PickListItemRenderEventArgs<TItem>> ItemRender { get; set; }
Property Value
Type | Description |
---|---|
Action<PickListItemRenderEventArgs<TItem>> | The row render callback. |
Multiple
Gets or sets a value indicating whether multiple selection is allowed.
Declaration
[Parameter]
public bool Multiple { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
Orientation
Gets or sets the orientation
Declaration
[Parameter]
public Orientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
Orientation | The orientation. |
Placeholder
Gets or sets the common placeholder
Declaration
[Parameter]
public string Placeholder { get; set; }
Property Value
Type | Description |
---|---|
string | The common placeholder. |
SelectAllText
Gets or sets the select all text.
Declaration
[Parameter]
public string SelectAllText { get; set; }
Property Value
Type | Description |
---|---|
string | The select all text. |
SelectedSourceToTargetIcon
Gets or sets the selected source to target icon
Declaration
[Parameter]
public string SelectedSourceToTargetIcon { get; set; }
Property Value
Type | Description |
---|---|
string | The selected source to target icon. |
SelectedSourceToTargetTitle
Gets or sets the selected source to target title
Declaration
[Parameter]
public string SelectedSourceToTargetTitle { get; set; }
Property Value
Type | Description |
---|---|
string | The selected source to target title. |
SelectedTargetToSourceIcon
Gets or sets the selected target to source icon
Declaration
[Parameter]
public string SelectedTargetToSourceIcon { get; set; }
Property Value
Type | Description |
---|---|
string | The selected target to source icon. |
SelectedTargetToSourceTitle
Gets or sets the selected target to source title
Declaration
[Parameter]
public string SelectedTargetToSourceTitle { get; set; }
Property Value
Type | Description |
---|---|
string | The selected target to source title. |
ShowHeader
Gets or sets value if headers are shown.
Declaration
[Parameter]
public bool ShowHeader { get; set; }
Property Value
Type | Description |
---|---|
bool | If headers are shown value. |
Source
Gets or sets the source collection.
Declaration
[Parameter]
public IEnumerable<TItem> Source { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<TItem> | The source collection. |
SourceChanged
Gets or sets the source changed.
Declaration
[Parameter]
public EventCallback<IEnumerable<TItem>> SourceChanged { get; set; }
Property Value
Type | Description |
---|---|
EventCallback<IEnumerable<TItem>> | The source changed. |
SourceHeader
Gets or sets the source header
Declaration
[Parameter]
public RenderFragment SourceHeader { get; set; }
Property Value
Type | Description |
---|---|
RenderFragment | The source header. |
SourcePlaceholder
Gets or sets the source placeholder
Declaration
[Parameter]
public string SourcePlaceholder { get; set; }
Property Value
Type | Description |
---|---|
string | The source placeholder. |
SourceToTargetIcon
Gets or sets the source to target icon
Declaration
[Parameter]
public string SourceToTargetIcon { get; set; }
Property Value
Type | Description |
---|---|
string | The source to target icon. |
SourceToTargetTitle
Gets or sets the source to target title
Declaration
[Parameter]
public string SourceToTargetTitle { get; set; }
Property Value
Type | Description |
---|---|
string | The source to target title. |
Target
Gets or sets the target collection.
Declaration
[Parameter]
public IEnumerable<TItem> Target { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<TItem> | The target collection. |
TargetChanged
Gets or sets the target changed.
Declaration
[Parameter]
public EventCallback<IEnumerable<TItem>> TargetChanged { get; set; }
Property Value
Type | Description |
---|---|
EventCallback<IEnumerable<TItem>> | The target changed. |
TargetHeader
Gets or sets the target header
Declaration
[Parameter]
public RenderFragment TargetHeader { get; set; }
Property Value
Type | Description |
---|---|
RenderFragment | The target header. |
TargetPlaceholder
Gets or sets the target placeholder
Declaration
[Parameter]
public string TargetPlaceholder { get; set; }
Property Value
Type | Description |
---|---|
string | The target placeholder. |
TargetToSourceIcon
Gets or sets the target to source icon
Declaration
[Parameter]
public string TargetToSourceIcon { get; set; }
Property Value
Type | Description |
---|---|
string | The target to source icon. |
TargetToSourceTitle
Gets or sets the target to source title
Declaration
[Parameter]
public string TargetToSourceTitle { get; set; }
Property Value
Type | Description |
---|---|
string | The target to source title. |
Template
Gets or sets the source template
Declaration
[Parameter]
public RenderFragment<TItem> Template { get; set; }
Property Value
Type | Description |
---|---|
RenderFragment<TItem> | The source template. |
TextProperty
Gets or sets the text property
Declaration
[Parameter]
public string TextProperty { get; set; }
Property Value
Type | Description |
---|---|
string | The text property. |
Methods
BuildRenderTree(RenderTreeBuilder)
RadzenCard component.
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
RenderTreeBuilder | __builder |
Overrides
GetComponentCssClass()
Gets the component CSS class.
Declaration
protected override string GetComponentCssClass()
Returns
Type | Description |
---|---|
string |
Overrides
GetSelectedSources()
Returns a collection of TItem that are selected in the source list.
Declaration
public IEnumerable<TItem> GetSelectedSources()
Returns
Type | Description |
---|---|
IEnumerable<TItem> |
GetSelectedTargets()
Returns a collection of TItem that are selected in the target list.
Declaration
public IEnumerable<TItem> GetSelectedTargets()
Returns
Type | Description |
---|---|
IEnumerable<TItem> |
GetStyle()
Gets the final CSS style rendered by the component. Combines it with a style
custom attribute.
Declaration
protected string GetStyle()
Returns
Type | Description |
---|---|
string |
SetParametersAsync(ParameterView)
Set parameters as an asynchronous operation.
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Type | Name | Description |
---|---|---|
ParameterView | parameters | The parameters. |
Returns
Type | Description |
---|---|
Task | A Task representing the asynchronous operation. |