Guest User

Untitled

a guest
Apr 19th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. [Export(typeof(EditorFormatDefinition))]
  2. [Name("mymarker")]
  3. internal sealed class MyMarkerDefinition : MarkerFormatDefinition
  4. {
  5. public MyMarkerDefinition()
  6. {
  7. this.ZOrder = 1;
  8. this.Fill = Brushes.Blue;
  9. this.Border = new Pen(Brushes.DarkGray, 0.5);
  10. this.Fill.Freeze();
  11. this.Border.Freeze();
  12. }
  13. }
Add Comment
Please, Sign In to add comment