C# 클래스 SIL.FieldWorks.SharpViews.LayoutInfo

Class that gathers all the info needed by a box Layout operation that typically needs to be passed down (sometimes with minor alterations) to child boxes.
상속: LayoutTransform
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
GetRenderer ( int ws ) : IRenderEngine

Get a rendering engine for the specified ws and the current VwGraphics.

LayoutInfo ( LayoutTransform source, int maxWidth, IVwGraphics graphics, IRendererFactory rf ) : System
LayoutInfo ( int dx, int dy, int dpiX, int dpiY, int maxWidth, IVwGraphics graphics, IRendererFactory rf ) : System

This class represents the information needed to lay out part of the display.

WithMaxWidthOffsetBy ( int maxWidth, int dx, int dy ) : LayoutInfo

Answer an otherwise identical LayoutTransform with the specified maximum layout width, adjusted appropriately for a child box of a box with Left = dx, Top = dy. Should be consistent with LayoutTransform.OffsetBy.

메소드 상세

GetRenderer() 공개 메소드

Get a rendering engine for the specified ws and the current VwGraphics.
public GetRenderer ( int ws ) : IRenderEngine
ws int
리턴 IRenderEngine

LayoutInfo() 공개 메소드

public LayoutInfo ( LayoutTransform source, int maxWidth, IVwGraphics graphics, IRendererFactory rf ) : System
source LayoutTransform
maxWidth int
graphics IVwGraphics
rf IRendererFactory
리턴 System

LayoutInfo() 공개 메소드

This class represents the information needed to lay out part of the display.
public LayoutInfo ( int dx, int dy, int dpiX, int dpiY, int maxWidth, IVwGraphics graphics, IRendererFactory rf ) : System
dx int
dy int
dpiX int
dpiY int
maxWidth int The maximum width available for layout (in units indicated by dpiX).
graphics IVwGraphics
rf IRendererFactory
리턴 System

WithMaxWidthOffsetBy() 공개 메소드

Answer an otherwise identical LayoutTransform with the specified maximum layout width, adjusted appropriately for a child box of a box with Left = dx, Top = dy. Should be consistent with LayoutTransform.OffsetBy.
public WithMaxWidthOffsetBy ( int maxWidth, int dx, int dy ) : LayoutInfo
maxWidth int
dx int
dy int
리턴 LayoutInfo