Children
{
get
{
return _childViews;
}
}
///
/// Gets the parent container.
/// Read only
///
/// The child container has been initialized.
/// The parent container.
/// 4
public new Container Parent
{
get
{
return GetParent();
}
}
///
/// Gets the number of children for this container.
/// Read only
///
/// The container has been initialized.
/// The number of children.
/// 4
public uint ChildCount
{
get
{
return GetChildCount();
}
}
///
/// Adds a child view to this Container.
///
/// This Container (the parent) has been initialized. The child view has been initialized. The child view is not the same as the parent view.
/// The child will be referenced by its parent. This means that the child will be kept alive, even if the handle passed into this method is reset or destroyed.
/// If the child already has a parent, it will be removed from the old parent and reparented to this view. This may change child's position, color, scale, etc. as it now inherits them from this view.
/// The child view to add.
/// 4
public abstract void Add(View view);
///
/// Removes a child view from this view. If the view was not a child of this view, this is a no-op.
///
/// This View(the parent) has been initialized. The child view is not the same as the parent view.
/// The view to remove
/// 4
public abstract void Remove(View view);
///
/// Retrieves the child view by the index.
///
/// The view has been initialized.
/// The index of the child to retrieve.
/// The view for the given index or empty handle if children are not initialized.
/// 4
public abstract View GetChildAt(uint index);
///
/// Gets the parent of this container.
///
/// The child container has been initialized.
/// The parent container.
/// 4
public abstract Container GetParent();
///
/// Gets the number of children for this container.
///
/// The container has been initialized.
/// The number of children.
/// 4
public abstract UInt32 GetChildCount();
internal abstract View FindCurrentChildById(uint id);
}
} // namespace Tizen.NUI