public static void GenerateWidthOrHeightEnum(CodeBlockNamespace namespaceContents) { var enumBlock = namespaceContents.Enum("public", "WidthOrHeight"); enumBlock.Line("Width,"); enumBlock.Line("Height"); }
private static void GenerateResizeBehaviorEnum(CodeBlockNamespace namespaceContents) { var enumBlock = namespaceContents.Enum("public", "ResizeBehavior"); enumBlock.Line("StretchVisibleArea,"); enumBlock.Line("IncreaseVisibleArea"); }