Leadtools.Windows.Media.TransitionBase Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Grain Property
See Also 
Leadtools.Windows.Media.Transitions Namespace > TransitionBase Class : Grain Property



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);
}

Return Value

Specifies the graining size. The smallest value is 5.

Example

For an example, refer to BlindTransition example.

Requirements

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

See Also