Class SmartInfoPanel
A custom ContentControl class that provides a stylish way to present "flip" capable "double-sided" content.
Namespace: Binarymission.WPF.Controls.Containers
Assembly: Binarymission.WPF.Controls.SmartInfoPanel.dll
Syntax
public class SmartInfoPanel : ContentControl
Remarks
Set up you content objects, and assign to the control's properties, and your content can be flipped back and forth.
The content object properties to set are:
1. RotatableContentFace
2. RotatableContentBack
3. NonRotatableContent
That is all to it. Your rotatable content is ready to flip back-and-forth.
Of course, you can set all other additional properties that are available in the control like border shadow, etc.
Constructors
SmartInfoPanel()
Declaration
public SmartInfoPanel()
Properties
AmbientLightColor
Gets or sets the color of the ambient light.
Declaration
public Color AmbientLightColor { get; set; }
BorderDropShadowColor
Gets or sets the color of the border dropshadow.
Declaration
public Color BorderDropShadowColor { get; set; }
BorderDropShadowSoftness
Gets or sets the border drop shadow softness.
Declaration
public double BorderDropShadowSoftness { get; set; }
BorderEdgeCornerRadius
Gets or sets the border edge corner radius.
Declaration
public CornerRadius BorderEdgeCornerRadius { get; set; }
DirectionalLightColor
Gets or sets the color of the directional light.
Declaration
public Color DirectionalLightColor { get; set; }
IsBorderDropShadowEnabled
Gets or sets a value indicating whether the control's border is dropshadow enabled.
Declaration
public bool IsBorderDropShadowEnabled { get; set; }
IsBorderEdgeCurved
Gets or sets a value indicating whether teh control's border edge is curved.
Declaration
public bool IsBorderEdgeCurved { get; set; }
IsRotatableContentDropShadowEnabled
Gets or sets a value indicating whether the control's rotatable content is dropshadow enabled.
Declaration
public bool IsRotatableContentDropShadowEnabled { get; set; }
NonRotatableContent
Gets or sets the data for the non-rotatable content.
Declaration
public object NonRotatableContent { get; set; }
RotatableContentBack
Gets or sets the "back" side of the rotatable content.
Declaration
public object RotatableContentBack { get; set; }
RotatableContentDropShadowColor
Gets or sets the color of the rotatable content dropshadow.
Declaration
public Color RotatableContentDropShadowColor { get; set; }
RotatableContentDropShadowSoftness
Gets or sets the rotatable content drop shadow softness.
Declaration
public double RotatableContentDropShadowSoftness { get; set; }
RotatableContentFace
Gets or sets the "face" side of the rotatable content.
Declaration
public object RotatableContentFace { get; set; }
RotateFlipType
Gets or sets the rotation flip style.
Declaration
public SmartInfoPanel.FlipType RotateFlipType { get; set; }