Click here to Skip to main content
15,881,882 members
Articles / Desktop Programming / WPF

SharpVectors - SVG# Reloaded: An Introduction

Rate me:
Please Sign up or sign in to vote.
4.98/5 (33 votes)
17 Nov 2010BSD10 min read 204.2K   21.7K   101  
A C# library for converting SVG to WPF and viewing SVG files in WPF Applications
using System;

namespace SharpVectors.Dom.Events
{
	/// <summary>
	/// The <see cref="IMutationNameEvent">IMutationNameEvent</see> interface
	/// provides specific contextual information associated with Mutation
	/// name event types.
	/// </summary>
	/// <remarks>
	/// Note: To create an instance of the
	/// <see cref="IMutationNameEvent">IMutationNameEvent</see> interface,
	/// use the feature string <c>"MutationNameEvent"</c> as the value of the
	/// input parameter used with the
	/// <see cref="CreateEvent">CreateEvent</see> method of the
	/// <see cref="IDocumentEvent">IDocumentEvent</see> interface.
	/// </remarks>
	public interface IMutationNameEvent
	{
		/// <summary>
		/// The previous value of the
		/// <see cref="RelatedNode">RelatedNode</see>'s namespace URI.
		/// </summary>
		string PrevNamespaceUri
		{
			get;
		}
		
		/// <summary>
		/// The previous value of the
		/// <see cref="RelatedNode">RelatedNode</see>'s nodeName.
		/// </summary>
		string PrevNodeName
		{
			get;
		}
		
		/// <summary>
		/// The <see cref="InitMutationNameEvent">InitMutationNameEvent</see>
		/// method is used to initialize the value of a
		/// <see cref="IMutationNameEvent">IMutationNameEvent</see> created
		/// using the
		/// <see cref="IDocumentEvent.CreateEvent">IDocumentEvent.CreateEvent</see>
		/// method. This method may only be called before the
		/// <see cref="IMutationNameEvent">IMutationNameEvent</see> has been
		/// dispatched via the
		/// <see cref="IEventTarget.DispatchEvent">IEventTarget.DispatchEvent</see>
		/// method, though it may be called multiple times during that phase
		/// if necessary. If called multiple times, the final invocation
		/// takes precedence.
		/// </summary>
		/// <param name="typeArg">
		/// Specifies the event type.
		/// </param>
		/// <param name="canBubbleArg">
		/// Specifies whether or not the event can bubble.
		/// </param>
		/// <param name="cancelableArg">
		/// Specifies whether or not the event's default action can be prevented.
		/// </param>
		/// <param name="relatedNodeArg">
		/// Specifies the <see cref="IEvent">IEvent</see>'s related Node.
		/// </param>
		/// <param name="prevNamespaceUri">
		/// Specifies the previous <see cref="NamespaceUri">NamespaceUri</see>
		/// of the related <see cref="INode">INode</see>. This value may be
		/// <c>null</c>.
		/// </param>
		/// <param name="prevNodeName">
		/// Specifies the previous <see cref="NodeName">NodeName</see> of the
		/// related Node.
		/// </param>
		void InitMutationNameEvent(
			string typeArg,
			bool canBubbleArg,
			bool cancelableArg,
			INode relatedNodeArg,
			string prevNamespaceUri,
			string prevNodeName);
		
		/// <summary>
		/// The
		/// <see cref="InitMutationNameEventNs">InitMutationNameEventNs</see>
		/// method is used to initialize the value of a
		/// <see cref="IMutationNameEvent">IMutationNameEvent</see> created
		/// using the
		/// <see cref="IDocumentEvent.CreateEvent">IDocumentEvent.CreateEvent</see>
		/// method. This method may only be called before the
		/// <see cref="IMutationNameEvent">IMutationNameEvent</see> has been
		/// dispatched via the
		/// <see cref="IEventTarget.DispatchEvent">IEventTarget.DispatchEvent</see>
		/// method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence. 
		/// </summary>
		/// <param name="namespaceUri">
		/// Specifies the
		/// <see cref="http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/glossary.html#dt-namespaceURI">namespace URI</see>
		/// associated with this event, or <c>null</c> if the application
		/// wish to have no namespace.
		/// </param>
		/// <param name="typeArg">
		/// Specifies the event type.
		/// </param>
		/// <param name="canBubbleArg">
		/// Specifies whether or not the event can bubble.
		/// </param>
		/// <param name="cancelableArg">
		/// Specifies whether or not the event's default action can be prevented.
		/// </param>
		/// <param name="relatedNodeArg">
		/// Specifies the <see cref="IEvent">IEvent</see>'s related Node.
		/// </param>
		/// <param name="prevNamespaceUri">
		/// Specifies the previous
		/// <see cref="INode.NamespaceUri">NamespaceUri</see> of the related
		/// Node. This value may be <c>null</c>.
		/// </param>
		/// <param name="prevNodeName">
		/// Specifies the previous <see cref="INode.NodeName">NodeName</see>
		/// of the related Node.
		/// </param>
		void InitMutationNameEventNs(
			string namespaceUri,
			string typeArg,
			bool canBubbleArg,
			bool cancelableArg,
			INode relatedNodeArg,
			string prevNamespaceUri,
			string prevNodeName);
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The BSD License


Written By
Engineer
Japan Japan
Systems Engineer

Comments and Discussions