RichTextKit v0.4

IStyleExtensions.HasSameLayout Method

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit
Declaring Type: IStyleExtensions
Extends: IStyle

Compares this style to another and returns true if both will have the same layout, but not necessarily the same appearance (eg: color change, underline etc...)

public static bool HasSameLayout(this IStyle This, IStyle other);

Parameters

this IStyle This

The style instance

IStyle other

The other style instance to compare to

Returns

bool

True if both styles will give the same layout