The fixed state of this object.
This is a dependency property.Supported in Silverlight, Windows Phone 7
Syntax
Example
This example will loop through all the objects in a container and set all note objects to be fixed in scrolling and zooming.
Visual Basic | Copy Code |
---|
Private Sub SetNoteObjectsFixedState(ByVal container As AnnContainer)
For Each obj As AnnObject In container.Children
If TypeOf (obj) Is AnnNoteObject Then
obj.FixedState = AnnFixedStateOperations.Scrolling Or AnnFixedStateOperations.Zooming
End If
Next
End Sub |
C# | Copy Code |
---|
private void SetNoteObjectsFixedState(AnnContainer container)
{
foreach(AnnObject obj in container.Children)
{
if(obj is AnnNoteObject)
{
obj.FixedState = AnnFixedStateOperations.Scrolling | AnnFixedStateOperations.Zooming;
}
}
} |
SilverlightCSharp | Copy Code |
---|
private void SetNoteObjectsFixedState(AnnContainer container)
{
foreach(AnnObject obj in container.Children)
{
if(obj is AnnNoteObject)
{
obj.FixedState = AnnFixedStateOperations.Scrolling | AnnFixedStateOperations.Zooming;
}
}
} |
SilverlightVB | Copy Code |
---|
Private Sub SetNoteObjectsFixedState(ByVal container As AnnContainer)
For Each obj As AnnObject In container.Children
If TypeOf obj Is AnnNoteObject Then
obj.FixedState = AnnFixedStateOperations.Scrolling Or AnnFixedStateOperations.Zooming
End If
Next obj
End Sub |
Remarks
Requirements
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)
See Also