# RadzenHtmlEditorItalic Class

A RadzenHtmlEditor tool which makes the selection italic.

Namespace: [Radzen.Blazor](https://blazor.radzen.com/docs/api/Radzen.Blazor.md)

Assembly: Radzen.Blazor.dll

## Inheritance

- Object
- ComponentBase
- RadzenHtmlEditorButtonBase
- RadzenHtmlEditorItalic

## Implements

- IComponent
- IHandleEvent
- IHandleAfterRender

## Syntax

```csharp
public class RadzenHtmlEditorItalic : RadzenHtmlEditorButtonBase, IComponent, IHandleEvent, IHandleAfterRender
```

## Examples

```razor
<RadzenHtmlEditor @bind-Value=@html>
 <RadzenHtmlEditorItalic />
</RadzenHtmlEdito>
@code {
  string html = "@lt;strong>Hello</strong> world!";
}
```

## Constructors

| Constructor | Description |
|-------------|-------------|
| `public RadzenHtmlEditorItalic()` | A RadzenHtmlEditor tool which makes the selection italic. |

## Properties

| Property | Type | Description |
|------|------|-------------|
| CommandName | `string` |  |
| Shortcut | `string` | Specifies the shortcut for the command. Set to "Ctrl+I" by default. |
| Title | `string` | Specifies the title (tooltip) displayed when the user hovers the tool. Set to "Italic" by default. |

## Methods

| Method | Returns | Description |
|------|---------|-------------|
| `BuildRenderTree(Rendering.RenderTreeBuilder __builder)` | `void` |  |

## Inherited Members

- From RadzenHtmlEditorButtonBase: Dispose, Editor, Localize, OnClick, OnInitialized
- From ComponentBase: Assets, AssignedRenderMode, DispatchExceptionAsync, InvokeAsync, OnAfterRender, OnAfterRenderAsync, OnInitializedAsync, OnParametersSet, OnParametersSetAsync, RendererInfo, SetParametersAsync, ShouldRender, StateHasChanged

