diff --git a/components/dropdownlist/overview.md b/components/dropdownlist/overview.md index b0c3cda8ea..e114b04f52 100644 --- a/components/dropdownlist/overview.md +++ b/components/dropdownlist/overview.md @@ -25,31 +25,7 @@ The Blazor DropDownList component allows the user to choose an option from a pre >caption DropDownList [data binding](slug:components/dropdownlist/databind), two-way value binding, and main features -````RAZOR -Selected value: @selectedValue -
- - - - -@code { - //in a real case, the model is usually in a separate file - //the model type and value field type must be provided to the dropdpownlist - public class MyDdlModel - { - public int MyValueField { get; set; } - public string MyTextField { get; set; } - } - - int selectedValue { get; set; } = 3; - - IEnumerable myDdlData = Enumerable.Range(1, 20).Select(x => new MyDdlModel { MyTextField = "item " + x, MyValueField = x }); -} -```` - ->caption The rendered DropDownList component from the code snippet above: - -![Blazor DropDown List component](images/dropdownlist-basic-screenshot.jpg) + ## Data Binding diff --git a/components/window/overview.md b/components/window/overview.md index eae328dca5..db75d7ed93 100644 --- a/components/window/overview.md +++ b/components/window/overview.md @@ -25,28 +25,7 @@ The Window component displays a popup with a title bar and shows custom content. >caption Basic Blazor Window -````RAZOR - - - Window Title - - - Window Content ... - - - - - - Window Footer Content ... - - - -Toggle window - -@code { - bool WindowIsVisible { get; set; } -} -```` + ## Size