Skip to content

Commit 7eccf03

Browse files
977115: ShowToolTip
1 parent ae6224c commit 7eccf03

File tree

1 file changed

+3
-3
lines changed
  • UG-Samples/SymbolPalette/ShowToolTip/ShowToolTip/Pages

1 file changed

+3
-3
lines changed

UG-Samples/SymbolPalette/ShowToolTip/ShowToolTip/Pages/Index.razor

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div style="display:flex;gap:20px;">
99
<div style="width:20%">
1010
<div>
11-
<SfCheckBox @bind-Checked="ShowTooltip" Label="Show Symbol ID as Tooltip" TChecked="bool">
11+
<SfCheckBox @bind-Checked="showTooltip" Label="Show Symbol ID as Tooltip" TChecked="bool">
1212
</SfCheckBox>
1313
</div>
1414
<div id="palette-space" class="sb-mobile-palette" style="border: 2px solid #b200ff">
@@ -24,7 +24,7 @@
2424

2525
@code {
2626
// Controls tooltip visibility for symbols at runtime.
27-
private bool ShowTooltip = false;
27+
private bool showTooltip = false;
2828
private SfSymbolPaletteComponent? symbolPalette;
2929
private SfDiagramComponent? diagram;
3030
private SymbolMargin symbolMargin = new SymbolMargin()
@@ -59,7 +59,7 @@
5959
private SymbolInfo GetSymbolInfo(IDiagramObject symbol)
6060
{
6161
// Enable/disable tooltip display based on user preference at runtime.
62-
return new SymbolInfo { ShowTooltip = ShowTooltip };
62+
return new SymbolInfo { ShowTooltip = showTooltip };
6363
}
6464

6565
private void InitPaletteModel()

0 commit comments

Comments
 (0)