..
This commit is contained in:
33
Sub/YARTE/Buttons/JustifyRightButton.cs
Normal file
33
Sub/YARTE/Buttons/JustifyRightButton.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System.Drawing;
|
||||
using YARTE.Properties;
|
||||
|
||||
namespace YARTE.UI.Buttons
|
||||
{
|
||||
public class JustifyRightButton : IHTMLEditorButton
|
||||
{
|
||||
public void IconClicked(ButtonArgs args)
|
||||
{
|
||||
args.Document.ExecCommand(CommandIdentifier, false, null);
|
||||
}
|
||||
|
||||
public Image IconImage
|
||||
{
|
||||
get { return Resources.justifyright; }
|
||||
}
|
||||
|
||||
public string IconName
|
||||
{
|
||||
get { return "Justify right"; }
|
||||
}
|
||||
|
||||
public string IconTooltip
|
||||
{
|
||||
get { return "Justify right"; }
|
||||
}
|
||||
|
||||
public string CommandIdentifier
|
||||
{
|
||||
get { return "JustifyRight"; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user