A style that can be used for style roundtripping and manipulation if a style used on the client
cannot be properly deserialized to a style implementation contained in yFiles.NET.
Namespace:
yWorks.yFiles.Graph.WebAssembly: yFilesServer (in yFilesServer.dll) Version: 1.3.0.2 (1.3.0.2)
Syntax
| C# |
|---|
public abstract class XmlStyle<TModelItem, TStyle> : IVisualStyle<TModelItem>, ICloneable where TModelItem : IModelItem where TStyle : class, Object, IVisualStyle<TModelItem> |
| Visual Basic (Declaration) |
|---|
Public MustInherit Class XmlStyle(Of TModelItem As IModelItem, TStyle As {Class, Object, IVisualStyle(Of TModelItem)}) _ Implements IVisualStyle(Of TModelItem), ICloneable |
Type Parameters
- TModelItem
- The item type this style is meant for
- TStyle
- The style interface that is used for the FallbackStyle.
Remarks
A FallbackStyle can be set that will be used for rendering graph items that use a xml style.
GraphRoundtripSupport will automatically register input handlers that create XmlStyle instances if no other deserializer can be found for a style sent from the client.
Subclasses use a XmlStyleRenderer<(Of <(TModelItem, TStyle, TSubStyle>)>) to render this style.
GraphRoundtripSupport will automatically register input handlers that create XmlStyle instances if no other deserializer can be found for a style sent from the client.
Subclasses use a XmlStyleRenderer<(Of <(TModelItem, TStyle, TSubStyle>)>) to render this style.
Inheritance Hierarchy
System..::.Object
yWorks.yFiles.Graph.Web..::.XmlStyle<(Of <(TModelItem, TStyle>)>)
yWorks.yFiles.Graph.Web..::.XmlEdgeStyle
yWorks.yFiles.Graph.Web..::.XmlLabelStyle
yWorks.yFiles.Graph.Web..::.XmlNodeStyle
yWorks.yFiles.Graph.Web..::.XmlPortStyle
yWorks.yFiles.Graph.Web..::.XmlStyle<(Of <(TModelItem, TStyle>)>)
yWorks.yFiles.Graph.Web..::.XmlEdgeStyle
yWorks.yFiles.Graph.Web..::.XmlLabelStyle
yWorks.yFiles.Graph.Web..::.XmlNodeStyle
yWorks.yFiles.Graph.Web..::.XmlPortStyle