Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions blazor/chat-ui/header.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ You can use the [HeaderIconCss](https://help.syncfusion.com/cr/blazor/Syncfusion
};
}

<style>
#chatui-header .e-header .e-header-icon {
display: flex;
}
</style>

```

![Blazor Chat UI HeaderIconCss](./images/header-iconCss.png)
Expand Down
Binary file modified blazor/chat-ui/images/timestamp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 11 additions & 5 deletions blazor/ribbon/backstage.md
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ You can customize the backstage menu items and their content using the [Template
{
if (backstageMenus.TryGetValue(id, out var menuItem))
{
selectedContent = menuItem.name;
selectedContent = menuItem.name.ToLowerInvariant();
}
}

Expand All @@ -863,16 +863,22 @@ You can customize the backstage menu items and their content using the [Template
new DropDownMenuItem{ Text = "Keep Text Only" }
};

RenderFragment GetBackstageContent(string item) => item switch
private RenderFragment RenderWrapperContent(string icon, string name, string description) => @<div class="section-content">
<span class="e-icons @icon doc_icon"></span>
<span>@name</span>
<div class="desc" style="font-size:12px;color:#555;margin-left:26px;">@description</div>
</div>;

RenderFragment GetBackstageContent(string item) => (item ?? string.Empty).ToLowerInvariant() switch
{
"New" => @<div class="new-wrapper" style="padding: 20px;">
"new" => @<div class="new-wrapper" style="padding: 20px;">
<div class="section-title">New</div>
<div class="category_container">
<div class="doc_category_image"></div>
<span class="doc_category_text">New document</span>
</div>
</div>,
"Open" => @<div class="block-wrapper">
"open" => @<div class="block-wrapper">
<div class="section-title">Recent</div>
@{
var recentDocuments = new List<(string icon, string name, string description)>
Expand All @@ -886,7 +892,7 @@ You can customize the backstage menu items and their content using the [Template
@RenderWrapperContent(doc.icon, doc.name, doc.description)
}
</div>,
"Save" => @<div class="block-wrapper">
"save" => @<div class="block-wrapper">
<div class="section-title">Save</div>
@{
var saveItems = new List<(string icon, string name, string description)>
Expand Down
17 changes: 16 additions & 1 deletion blazor/ribbon/gallery.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Gallery items can be added using [GalleryItem](https://help.syncfusion.com/cr/bl

![Ribbon Gallery Items](./images/gallery/gallery_items.png)

#### Css class
#### CSS class

You can use the `CssClass` property to customize the gallery item.

Expand Down Expand Up @@ -180,6 +180,21 @@ You can use the `CssClass` property to customize the gallery item.
};
}

<style>

.e-ribbon-gallery-item.bad {
background: #ffb6b6;
}

.e-ribbon-gallery-item.good {
background: #c7ebc9;
}

.e-ribbon-gallery-item.neutral {
background: #eedd9d;
}
</style>

{% endhighlight %}
{% endtabs %}

Expand Down
4 changes: 3 additions & 1 deletion blazor/ribbon/items.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ Below example demonstrates how to configure a Checkbox item including it's event
{% highlight razor %}

@using Syncfusion.Blazor.Ribbon
@using Syncfusion.Blazor.Buttons

<div style="width:30%">
<SfRibbon>
Expand Down Expand Up @@ -120,7 +121,7 @@ Below example demonstrates how to configure a Checkbox item including it's event
@code {
private void Created() { /* your actions here */ }

private void ValueChange(ChangeEventArgs args) { /* your actions here */ }
private void ValueChange(ChangeEventArgs<bool> args) { /* your actions here */ }
}

{% endhighlight %}
Expand Down Expand Up @@ -442,6 +443,7 @@ Below example demonstrates how to configure a Colorpicker item including it's ev

@using Syncfusion.Blazor.Ribbon
@using Syncfusion.Blazor.SplitButtons
@using Syncfusion.Blazor.Inputs

<div style="width:30%">
<SfRibbon>
Expand Down