SmartInfoPanel
A custom ContentControl class that provides a stylish way to present "flip" capable "double-sided" content.
public class SmartInfoPanel : ContentControl
Inherits from / implements: 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.
Members at a glance
AmbientLightColor | Gets or sets the color of the ambient light. |
BorderDropShadowColor | Gets or sets the color of the border dropshadow. |
BorderDropShadowSoftness | Gets or sets the border drop shadow softness. |
BorderEdgeCornerRadius | Gets or sets the border edge corner radius. |
DirectionalLightColor | Gets or sets the color of the directional light. |
IsBorderDropShadowEnabled | Gets or sets a value indicating whether the control's border is dropshadow enabled. |
IsBorderEdgeCurved | Gets or sets a value indicating whether teh control's border edge is curved. |
IsRotatableContentDropShadowEnabled | Gets or sets a value indicating whether the control's rotatable content is dropshadow enabled. |
NonRotatableContent | Gets or sets the data for the non-rotatable content. |
RotatableContentBack | Gets or sets the "back" side of the rotatable content. |
RotatableContentDropShadowColor | Gets or sets the color of the rotatable content dropshadow. |
RotatableContentDropShadowSoftness | Gets or sets the rotatable content drop shadow softness. |
RotatableContentFace | Gets or sets the "face" side of the rotatable content. |
RotateFlipType | Gets or sets the rotation flip style. |
AmbientLightColorProperty | Identifies the AmbientLightColor dependency property. |
BorderDropShadowColorProperty | Identifies the BorderDropShadowColor dependency property. |
BorderDropShadowSoftnessProperty | Identifies the BorderDropShadowSoftness dependency property. |
BorderEdgeCornerRadiusProperty | Identifies the BorderEdgeCornerRadius dependency property. |
DirectionalLightColorProperty | Identifies the DirectionalLightColor dependency property. |
IsBorderDropShadowEnabledProperty | Identifies the IsBorderDropShadowEnabled dependency property. |
IsBorderEdgeCurvedProperty | Identifies the IsBorderEdgeCurved dependency property. |
IsRotatableContentDropShadowEnabledProperty | Identifies the IsRotatableContentDropShadowEnabled dependency property. |
NonRotatableContentProperty | Identifies the NonRotatableContent dependency property. |
RotatableContentBackProperty | Identifies the RotatableContentBack dependency property. |
RotatableContentDropShadowColorProperty | Identifies the RotatableContentDropShadowColor dependency property. |
RotatableContentDropShadowSoftnessProperty | Identifies the RotatableContentDropShadowSoftness dependency property. |
RotatableContentFaceProperty | Identifies the RotatableContentFace dependency property. |
RotateFlipTypeProperty | Identifies the RotateFlipType dependency property. |
Properties
AmbientLightColor
Gets or sets the color of the ambient light.
BorderDropShadowColor
Gets or sets the color of the border dropshadow.
BorderDropShadowSoftness
Gets or sets the border drop shadow softness.
Value. The border drop shadow softness.
BorderEdgeCornerRadius
Gets or sets the border edge corner radius.
Value. The border edge corner radius.
DirectionalLightColor
Gets or sets the color of the directional light.
IsBorderDropShadowEnabled
Gets or sets a value indicating whether the control's border is dropshadow enabled.
IsBorderEdgeCurved
Gets or sets a value indicating whether teh control's border edge is curved.
IsRotatableContentDropShadowEnabled
Gets or sets a value indicating whether the control's rotatable content is dropshadow enabled.
NonRotatableContent
Gets or sets the data for the non-rotatable content.
RotatableContentBack
Gets or sets the "back" side of the rotatable content.
RotatableContentDropShadowColor
Gets or sets the color of the rotatable content dropshadow.
RotatableContentDropShadowSoftness
Gets or sets the rotatable content drop shadow softness.
Value. The rotatable content drop shadow softness.
RotatableContentFace
Gets or sets the "face" side of the rotatable content.
RotateFlipType
Gets or sets the rotation flip style.
Value. One of the values from FlipType.
Fields
AmbientLightColorProperty
Identifies the AmbientLightColor dependency property.
BorderDropShadowColorProperty
Identifies the BorderDropShadowColor dependency property.
BorderDropShadowSoftnessProperty
Identifies the BorderDropShadowSoftness dependency property.
BorderEdgeCornerRadiusProperty
Identifies the BorderEdgeCornerRadius dependency property.
DirectionalLightColorProperty
Identifies the DirectionalLightColor dependency property.
IsBorderDropShadowEnabledProperty
Identifies the IsBorderDropShadowEnabled dependency property.
IsBorderEdgeCurvedProperty
Identifies the IsBorderEdgeCurved dependency property.
IsRotatableContentDropShadowEnabledProperty
Identifies the IsRotatableContentDropShadowEnabled dependency property.
NonRotatableContentProperty
Identifies the NonRotatableContent dependency property.
RotatableContentBackProperty
Identifies the RotatableContentBack dependency property.
RotatableContentDropShadowColorProperty
Identifies the RotatableContentDropShadowColor dependency property.
RotatableContentDropShadowSoftnessProperty
Identifies the RotatableContentDropShadowSoftness dependency property.
RotatableContentFaceProperty
Identifies the RotatableContentFace dependency property.
RotateFlipTypeProperty
Identifies the RotateFlipType dependency property.