result r = E_SUCCESS;
- CreateItemDivider();
- CreateItemAnnexDivider();
-
__pHighlightVisualElement = new (std::nothrow) _VisualElement();
SysTryCatch(NID_UI_CTRL, __pHighlightVisualElement != null, r = E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed.");
void
_TableViewItem::SetDrawingProperty(_ItemDrawingProperty* pDrawingProperty)
{
+
+ SysTryReturnVoidResult(NID_UI_CTRL, pDrawingProperty != null, E_INVALID_ARG, "[E_INAVLID_ARG] pDrawingProperty is null");
+
__pDrawingProperty = pDrawingProperty;
+ if(__pDrawingProperty->itemDividerEnabled)
+ {
+ CreateItemDivider();
+ }
+
CreateAnnexStyle();
}
CreateOnOffButton();
break;
case TABLE_VIEW_ANNEX_STYLE_ONOFF_SLIDING_WITH_DIVIDER:
+ CreateItemAnnexDivider();
CreateOnOffButton();
break;
case TABLE_VIEW_ANNEX_STYLE_DETAILED: