LEADTOOLS WPF and Silverlight (Leadtools.Windows.Media.TransitionBase assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Grain Property
See Also 
Leadtools.Windows.Media.Transitions Namespace > TransitionBase Class : Grain Property



The Grain Property supports WPF/Silverlight.

Gets or sets the Graining size. This is the smallest unit to be updated when applying a transition.

Syntax

Visual Basic (Declaration) 
Public Property Grain As Double
Visual Basic (Usage)Copy Code
Dim instance As TransitionBase
Dim value As Double
 
instance.Grain = value
 
value = instance.Grain
C# 
public double Grain {get; set;}
C++/CLI 
public:
property double Grain {
   double get();
   void set (    double value);
}

Property Value

Specifies the graining size. The smallest value is 5.

Example

For an example, refer to Leadtools.Windows.Media.Transitions.BlindTransition example.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also