A Co Down man allegedly attacked his daughter, trying to strangle her, after he claimed to be “ashamed” of her, a court heard.