internal static float GetXamlFrameAspectRatio(BackFrameShape shape) { float result = 1f; if (shape >= (BackFrameShape)2000 && shape <= (BackFrameShape)2199) { result = 1.48275864f; } else if (shape >= (BackFrameShape)2200 && shape <= (BackFrameShape)2399) { result = 0.6744186f; } return(result); }
public BackFrame(object parent, BackFrameStyle style, BackFrameShape shape) : this(parent) { this.style = style; this.shape = shape; }