protected GetDrawingFont ( TreeNodeAdv node, DrawContext context, string label ) : |
||
node | TreeNodeAdv | |
context | DrawContext | |
label | string | |
return |
protected Font GetDrawingFont(TreeNodeAdv node, DrawContext context, string label)
{
Font font = context.Font;
if (DrawText != null)
{
DrawEventArgs args = new DrawEventArgs(node, context, label);
args.Font = context.Font;
OnDrawText(args);
font = args.Font;
}
return font;
}