Skip to content

Commit 9668345

Browse files
svdimitrjivanova
authored andcommitted
docs(mc-combo): appearance article
1 parent 9f403fc commit 9668345

File tree

1 file changed

+47
-35
lines changed

1 file changed

+47
-35
lines changed

components/multicolumncombobox/appearance.md

Lines changed: 47 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
22
title: Appearance
3-
page_title: ComboBox Appearance
4-
description: Appearance settings of the ComboBox for Blazor.
5-
slug: combobox-appearance
6-
tags: telerik,blazor,combobox,appearance
3+
page_title: MultiColumnComboBox Appearance
4+
description: Appearance settings of the MultiColumnComboBox for Blazor.
5+
slug: multicolumncombobox-appearance
6+
tags: telerik,blazor,multicolumncombobox,combobox,appearance
77
published: True
88
position: 65
99
---
1010

1111
# Appearance Settings
1212

13-
You can control the appearance of the ComboBox by setting the following attribute:
13+
You can control the appearance of the MultiColumnComboBox by setting the following attributes:
1414

1515
* [Size](#size)
1616
* [Rounded](#rounded)
@@ -19,7 +19,7 @@ You can control the appearance of the ComboBox by setting the following attribut
1919

2020
## Size
2121

22-
You can increase or decrease the size of the ComboBox by setting the `Size` attribute to a member of the `Telerik.Blazor.ThemeConstants.ComboBox.Size` class:
22+
You can increase or decrease the size of the MultiColumnComboBox by setting the `Size` attribute to a member of the `Telerik.Blazor.ThemeConstants.ComboBox.Size` class:
2323

2424
| Class members | Manual declarations |
2525
|------------|--------|
@@ -41,15 +41,19 @@ You can increase or decrease the size of the ComboBox by setting the `Size` attr
4141
string size = field.GetValue(null).ToString();
4242
4343
<div style="float:left; margin: 20px;">
44-
<TelerikComboBox Data="@myComboData"
45-
Size="@size"
46-
TextField="MyTextField"
47-
ValueField="MyValueField"
48-
@bind-Value="selectedValue"
49-
Placeholder="Select an item..."
50-
ClearButton="true"
51-
Filterable="true">
52-
</TelerikComboBox>
44+
<TelerikMultiColumnComboBox Data="@myComboData"
45+
Size="@size"
46+
TextField="MyTextField"
47+
ValueField="MyValueField"
48+
@bind-Value="selectedValue"
49+
Placeholder="Select an item..."
50+
ClearButton="true"
51+
Filterable="true">
52+
<MultiColumnComboBoxColumns>
53+
<MultiColumnComboBoxColumn Field="@nameof(MyDdlModel.MyTextField)"></MultiColumnComboBoxColumn>
54+
<MultiColumnComboBoxColumn Field="@nameof(MyDdlModel.MyValueField)"></MultiColumnComboBoxColumn>
55+
</MultiColumnComboBoxColumns>
56+
</TelerikMultiColumnComboBox>
5357
</div>
5458
}
5559
}
@@ -74,7 +78,7 @@ You can increase or decrease the size of the ComboBox by setting the `Size` attr
7478

7579
## Rounded
7680

77-
The `Rounded` attribute applies the `border-radius` CSS rule to the ComboBox to achieve curving of the edges. You can set it to a member of the `Telerik.Blazor.ThemeConstants.ComboBox.Rounded` class:
81+
The `Rounded` attribute applies the `border-radius` CSS rule to the MultiColumnComboBox to achieve curving of the edges. You can set it to a member of the `Telerik.Blazor.ThemeConstants.ComboBox.Rounded` class:
7882

7983
| Class members | Manual declarations |
8084
|------------|--------|
@@ -99,15 +103,19 @@ The `Rounded` attribute applies the `border-radius` CSS rule to the ComboBox to
99103
string rounded = field.GetValue(null).ToString();
100104
101105
<div style="float:left; margin: 20px;">
102-
<TelerikComboBox Data="@myComboData"
103-
Rounded="@rounded"
104-
TextField="MyTextField"
105-
ValueField="MyValueField"
106-
@bind-Value="selectedValue"
107-
Placeholder="Select an item..."
108-
ClearButton="true"
109-
Filterable="true">
110-
</TelerikComboBox>
106+
<TelerikMultiColumnComboBox Data="@myComboData"
107+
Rounded="@rounded"
108+
TextField="MyTextField"
109+
ValueField="MyValueField"
110+
@bind-Value="selectedValue"
111+
Placeholder="Select an item..."
112+
ClearButton="true"
113+
Filterable="true">
114+
<MultiColumnComboBoxColumns>
115+
<MultiColumnComboBoxColumn Field="@nameof(MyDdlModel.MyTextField)"></MultiColumnComboBoxColumn>
116+
<MultiColumnComboBoxColumn Field="@nameof(MyDdlModel.MyValueField)"></MultiColumnComboBoxColumn>
117+
</MultiColumnComboBoxColumns>
118+
</TelerikMultiColumnComboBox>
111119
</div>
112120
}
113121
}
@@ -132,7 +140,7 @@ The `Rounded` attribute applies the `border-radius` CSS rule to the ComboBox to
132140

133141
## FillMode
134142

135-
The `FillMode` controls how the TelerikComboBox is filled. You can set it to a member of the `Telerik.Blazor.ThemeConstants.ComboBox.FillMode` class:
143+
The `FillMode` controls how the TelerikMultiColumnComboBox is filled. You can set it to a member of the `Telerik.Blazor.ThemeConstants.ComboBox.FillMode` class:
136144

137145
| Class members | Result |
138146
|------------|--------|
@@ -156,15 +164,19 @@ The `FillMode` controls how the TelerikComboBox is filled. You can set it to a m
156164
string fillMode = field.GetValue(null).ToString();
157165
158166
<div style="float:left; margin: 20px;">
159-
<TelerikComboBox Data="@myComboData"
160-
FillMode="@fillMode"
161-
TextField="MyTextField"
162-
ValueField="MyValueField"
163-
@bind-Value="selectedValue"
164-
Placeholder="Select an item..."
165-
ClearButton="true"
166-
Filterable="true">
167-
</TelerikComboBox>
167+
<TelerikMultiColumnComboBox Data="@myComboData"
168+
FillMode="@fillMode"
169+
TextField="MyTextField"
170+
ValueField="MyValueField"
171+
@bind-Value="selectedValue"
172+
Placeholder="Select an item..."
173+
ClearButton="true"
174+
Filterable="true">
175+
<MultiColumnComboBoxColumns>
176+
<MultiColumnComboBoxColumn Field="@nameof(MyDdlModel.MyTextField)"></MultiColumnComboBoxColumn>
177+
<MultiColumnComboBoxColumn Field="@nameof(MyDdlModel.MyValueField)"></MultiColumnComboBoxColumn>
178+
</MultiColumnComboBoxColumns>
179+
</TelerikMultiColumnComboBox>
168180
</div>
169181
}
170182
}

0 commit comments

Comments
 (0)