Skip to content

Commit b49b955

Browse files
Update Appearance.md
1 parent d428505 commit b49b955

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

specs/Appearance.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,17 @@ How to set theme in webview2.
3838

3939
```
4040
41+
```c#
42+
43+
private WebView2 m_webview;
44+
45+
void SetAppearance(COREWEBVIEW2_APPEARANCE_TYPE appearance)
46+
{
47+
m_webview.CoreWebView2Controller.put_Appearance(appearance);
48+
}
49+
50+
```
51+
4152
# API Details
4253

4354
```

0 commit comments

Comments
 (0)