Description
The CheckOutIcon element is rendered as an icon indicating the check-out or in-use status of an object, and allowing handling check-out/check-in operations via a pop-up menu.
Namespace
xmlns:l="http://www.teradp.com/schemas/GN4/1/Shell/Presentation"
Members
For the list of properties and methods, see:
Example
The directory style definition of the ‘C’ column containing CheckOutIcon is:
<ColStyle Name="C" Width="12" Height="0">
<CellTemplate>
<xp:StackPanel VerticalAlignment="Top" Orientation="Vertical">
<l:CheckOutIcon
ObjectId="{Binding Path=[folderObject.id]}"
CheckOutInfo="{Binding Path=[folderObject:CheckOutInfo]}"
AllowForce="true"
UseAutoSelect="true"
AllowUnlock="true"/>
</xp:StackPanel>
</CellTemplate>
</ColStyle>
Where the properties are:
Name |
Description |
Default value |
ObjectId |
Database id of the object |
None. It must be bound to the object database id |
CheckOutInfo |
Object check-out information |
None.It must be bound to the object CheckOutInfo extra information |
AllowForce |
Display the Force get and Force check-out commands in the menu. Possible values are True and False. If False the menu entries are not displayed. |
True |
UseAutoSelect |
Try to automatically select the current client specification matching the host name or IP address of the client machine with the 'host' attribute of the client specification. Possible values are True or False. |
True |
AllowUnlock |
Display the Unlock command in the menu for objects that are in use. Possible values are True and False. If False the menu entries are not displayed. |
True |
Other examples
<l:CheckOutIcon ObjectId="{Binding Path=[archiveObject.id]}" CheckOutInfo="{Binding Path=CheckOutInfo}" AllowForce="True" UseAutoSelect="True" />
<l:CheckOutIcon ObjectId="{Binding Path=[archiveObject.id]}" CheckOutInfo="{Binding Path=[archiveObject:CheckOutInfo]}" AllowForce="True" UseAutoSelect="True" />
<l:CheckOutIcon ObjectId="{Binding Path=[folderObject.id]}" CheckOutInfo="{Binding Path=CheckOutInfo}" AllowForce="True" UseAutoSelect="True" />
<l:CheckOutIcon ObjectId="{Binding Path=[folderObject.id]}" CheckOutInfo="{Binding Path=[folderObject:CheckOutInfo]}" AllowForce="True" UseAutoSelect="True" />
<l:CheckOutIcon ObjectId="{Binding Path=[linkObject.id]}" CheckOutInfo="{Binding Path=[linkObject:CheckOutInfo]}" AllowForce="True" UseAutoSelect="True" />
<l:CheckOutIcon ObjectId="{Binding Path=[linkObject.id]}" CheckOutInfo="{Binding Path=CheckOutInfo}" AllowForce="True" UseAutoSelect="True" />
See also