Articles in this section
Category / Section

How to notify stencil in WPF Diagram (SfDiagram)?

1 min read

Stencil is a gallery of reusable symbols and diagram elements that can be dragged and dropped on the WPF Diagram (SfDiagram) surface many times. You can notify stencil by using SymbolsLoaded event. Please refer to the sample and code example as below.
C#

symbolstencil.SymbolsLoaded += symbolstencil_SymbolsLoaded;
void symbolstencil_SymbolsLoaded(object sender, SymbolsLoadedEventArgs args)
{
  //enter your code here.}

view sample in GitHub.

Sample Details:
In the Sample, WPF Diagram (SfDiagram) provide search option to search the symbols (search using keys). BusyIndicator runs once click is made on the search button. BusyIndicator stops when the searched symbols have been loaded.
some of the keys for the symbols are listed in below table. Please refer to the below table.

Table

window

Paperholder

mat

Doublebed

TowelRing

Towel

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied